diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-07-08 12:44:45 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-07-08 12:44:45 +0300 |
commit | cc68ca6d420e750fd90e76bafb64dd19e51823ac (patch) | |
tree | 44e8fe8efb5f6c9bc551b6d9b5e7985596bd24da /src/interfaces/libpq/fe-connect.c | |
parent | e311c6e53955e4529a47a36a4f26b0c3f7a29513 (diff) | |
download | postgresql-cc68ca6d420e750fd90e76bafb64dd19e51823ac.tar.gz postgresql-cc68ca6d420e750fd90e76bafb64dd19e51823ac.zip |
Fix outdated comment after removal of direct SSL fallback
The option to fall back from direct SSL to negotiated SSL or a
plaintext connection was removed in commit fb5718f35f.
Discussion: https://www.postgresql.org/message-id/c82ad227-e049-4e18-8898-475a748b5a5a@iki.fi
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 071b1b34aa1..e003279fb6c 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -3564,8 +3564,8 @@ keep_going: /* We will come back to here until there is if (pollres == PGRES_POLLING_FAILED) { /* - * Failed direct ssl connection, possibly try a new - * connection with postgres negotiation + * SSL handshake failed. We will retry with a plaintext + * connection, if permitted by sslmode. */ CONNECTION_FAILED(); } |