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

Commit7129a97

Browse files
committed
psql: fix \l display for pre-v15 databases.
With a pre-v15 server, show NULL for the "ICU Locale" column,matching what you see in v15 when the database locale isn't ICU.The previous coding incorrectly repeated datcollate here.(There's an unfinished discussion about whether to consolidatethese columns in \l output, but in any case we'd want this fixfor \l+ output.)Euler Taveira, per report from Christoph BergDiscussion:https://postgr.es/m/YlmIFCqu+TZSW4rB@msg.df7cb.de
1 parent6fea655 commit7129a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/psql/describe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ listAllDbs(const char *pattern, bool verbose)
904904
gettext_noop("Locale Provider"));
905905
else
906906
appendPQExpBuffer(&buf,
907-
"d.datcollate as \"%s\",\n"
907+
"NULL as \"%s\",\n"
908908
" 'libc' AS \"%s\",\n",
909909
gettext_noop("ICU Locale"),
910910
gettext_noop("Locale Provider"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp