aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-04-08 02:49:37 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-04-08 02:49:37 +0300
commit705843d294d5d3bc5cce4001596df4df5f1c8b59 (patch)
tree383337ffbcc0346ee4a084c611d65e8930ceeb8f /src/tutorial/basics.source
parent20f9b61cc1926775b1ceb25196df942efaf8bdd2 (diff)
downloadpostgresql-705843d294d5d3bc5cce4001596df4df5f1c8b59.tar.gz
postgresql-705843d294d5d3bc5cce4001596df4df5f1c8b59.zip
Enhance libpq encryption negotiation tests with new GUC
The new "log_connection_negotiation" server option causes the server to print messages to the log when it receives a SSLRequest or GSSENCRequest packet from the client. Together with "log_connections", it gives a trace of how a connection and encryption is negotiatated. Use the option in the libpq_encryption test, to verify in more detail how libpq negotiates encryption with different gssencmode and sslmode options. This revealed a couple of cases where libpq retries encryption or authentication, when it should already know that it cannot succeed. I marked them with XXX comments in the test tables. They only happen when the connection was going to fail anyway, and only with rare combinations of options, so they're not serious. Discussion: https://www.postgresql.org/message-id/CAEze2Wja8VUoZygCepwUeiCrWa4jP316k0mvJrOW4PFmWP0Tcw@mail.gmail.com
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions