Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71e7083

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 casesthat aren't really platform-specific, but could depend on configurationoptions 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 movingto another OS; that's also more consistent with the wording used for anidentical error case in guc.c.No back-patch, as the clarity gain is small enough to not be worthburdening translators with back-branch changes.
1 parentc464a06 commit71e7083

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 supportedon thisplatform"),
853+
errmsg("hostsslisnot supportedby thisbuild"),
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 supportedon thisplatform",
1151+
errmsg("invalid authentication method \"%s\": not supportedby thisbuild",
11521152
token),
11531153
errcontext("line %d of configuration file \"%s\"",
11541154
line_num,HbaFileName)));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp