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

Commit1f092a3

Browse files
committed
psql \dX: reference regclass with "pg_catalog." prefix
Déjà vu of commitfc40ba1, for another backslash command.Strictly speaking this isn't a bug, but since all references to catalogobjects are schema-qualified, we might as well be consistent. Theomission first appeared in commitad600bb and replicated ina4d75c8; backpatch to 14.Author: Justin Pryzby <pryzbyj@telsasoft.com>Discussion:https://postgr.es/m/20210827193151.GN26465@telsasoft.com
1 parentfc40ba1 commit1f092a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/describe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4735,7 +4735,7 @@ listExtendedStats(const char *pattern)
47354735
appendPQExpBuffer(&buf,
47364736
"pg_catalog.format('%%s FROM %%s', \n"
47374737
" pg_get_statisticsobjdef_columns(es.oid), \n"
4738-
" es.stxrelid::regclass) AS \"%s\"",
4738+
" es.stxrelid::pg_catalog.regclass) AS \"%s\"",
47394739
gettext_noop("Definition"));
47404740
else
47414741
appendPQExpBuffer(&buf,
@@ -4746,7 +4746,7 @@ listExtendedStats(const char *pattern)
47464746
" ON (es.stxrelid = a.attrelid \n"
47474747
" AND a.attnum = s.attnum \n"
47484748
" AND NOT a.attisdropped)), \n"
4749-
"es.stxrelid::regclass) AS \"%s\"",
4749+
"es.stxrelid::pg_catalog.regclass) AS \"%s\"",
47504750
gettext_noop("Definition"));
47514751

47524752
appendPQExpBuffer(&buf,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp