postgresql/src/backend/postmaster
Peter Eisentraut c1869542b3 Use abstracted SSL API in server connection log messages
The existing "connection authorized" server log messages used OpenSSL
API calls directly, even though similar abstracted API calls exist.
Change to use the latter instead.

Change the function prototype for the functions that return the TLS
version and the cipher to return const char * directly instead of
copying into a buffer.  That makes them slightly easier to use.

Add bits= to the message.  psql shows that, so we might as well show the
same information on the client and server.

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
2018-01-26 09:50:46 -05:00
..
Makefile Allow background workers to be started dynamically. 2013-07-16 13:02:15 -04:00
autovacuum.c Remove unnecessary include 2018-01-23 15:22:13 -03:00
bgworker.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
bgwriter.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
checkpointer.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
fork_process.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
pgarch.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
pgstat.c Use abstracted SSL API in server connection log messages 2018-01-26 09:50:46 -05:00
postmaster.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
startup.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
syslogger.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
walwriter.c Update copyright for 2018 2018-01-02 23:30:12 -05:00