diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-06-12 15:31:31 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-06-12 15:31:31 +0200 |
commit | a0fe90efef91fcd578a85a0f0c5bcab55285b1d7 (patch) | |
tree | 4191a451e9c6bc2d9e4776609b090343dfc7b356 /src/interfaces/libpq/fe-connect.c | |
parent | d112ea46813277351b577ee586c6e84e7de8ab27 (diff) | |
download | postgresql-a0fe90efef91fcd578a85a0f0c5bcab55285b1d7.tar.gz postgresql-a0fe90efef91fcd578a85a0f0c5bcab55285b1d7.zip |
libpq: Add missing gettext markers
Follow-up to 87d2801d4b: That commit restored some lost error
messages, but they ended up in a place where xgettext wouldn't find
them. Rather than elevating ENCRYPTION_NEGOTIATION_FAILED() to a
gettext trigger, it's easiest for now to put in some explicit
libpq_gettext() calls in the couple of call sites.
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 df996432467..995621b6260 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -3519,7 +3519,7 @@ keep_going: /* We will come back to here until there is * continue without SSL, we can proceed using this * connection. Otherwise return with an error. */ - ENCRYPTION_NEGOTIATION_FAILED("server does not support SSL, but SSL was required"); + ENCRYPTION_NEGOTIATION_FAILED(libpq_gettext("server does not support SSL, but SSL was required")); } else if (SSLok == 'E') { @@ -3640,7 +3640,7 @@ keep_going: /* We will come back to here until there is * continue without GSS, we can proceed using this * connection. Otherwise return with an error. */ - ENCRYPTION_NEGOTIATION_FAILED("server doesn't support GSSAPI encryption, but it was required"); + ENCRYPTION_NEGOTIATION_FAILED(libpq_gettext("server doesn't support GSSAPI encryption, but it was required")); } else if (gss_ok != 'G') { |