Skip to content

Commit 71e7083

Browse files
committed
Rephrase some not-supported error messages in pg_hba.conf processing.
In a couple of places we said "not supported on this platform" for cases that aren't really platform-specific, but could depend on configuration options such as --with-openssl. Use "not supported by this build" instead, as that doesn't convey the impression that you can't fix it without moving to another OS; that's also more consistent with the wording used for an identical error case in guc.c. No back-patch, as the clarity gain is small enough to not be worth burdening translators with back-branch changes.
1 parent c464a06 commit 71e7083

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/libpq/hba.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ parse_hba_line(List *line, int line_num, HbaLine *parsedline)
850850
#else
851851
ereport(LOG,
852852
(errcode(ERRCODE_CONFIG_FILE_ERROR),
853-
errmsg("hostssl not supported on this platform"),
853+
errmsg("hostssl is not supported by this build"),
854854
errhint("Compile with --with-openssl to use SSL connections."),
855855
errcontext("line %d of configuration file \"%s\"",
856856
line_num, HbaFileName)));
@@ -1148,7 +1148,7 @@ parse_hba_line(List *line, int line_num, HbaLine *parsedline)
11481148
{
11491149
ereport(LOG,
11501150
(errcode(ERRCODE_CONFIG_FILE_ERROR),
1151-
errmsg("invalid authentication method \"%s\": not supported on this platform",
1151+
errmsg("invalid authentication method \"%s\": not supported by this build",
11521152
token),
11531153
errcontext("line %d of configuration file \"%s\"",
11541154
line_num, HbaFileName)));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy