Content-Length: 276194 | pFad | https://github.com/postgrespro/postgres/commit/07f8a9e784236a3baf707c59cf80d0f015594ffc

EF Properly schema-prefix reference to pg_catalog.pg_get_statisticsobjde… · postgrespro/postgres@07f8a9e · GitHub
Skip to content

Commit 07f8a9e

Browse files
committed
Properly schema-prefix reference to pg_catalog.pg_get_statisticsobjdef_columns
Author: Tatsuro Yamada Backpatch-through: 14 Discussion: https://www.postgresql.org/message-id/7ad8cd13-db5b-5cf6-8561-dccad1a934cb@nttcom.co.jp
1 parent c3b011d commit 07f8a9e

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
@@ -2881,7 +2881,7 @@ describeOneTableDetails(const char *schemaname,
28812881
"stxrelid::pg_catalog.regclass, "
28822882
"stxnamespace::pg_catalog.regnamespace AS nsp, "
28832883
"stxname,\n"
2884-
"pg_get_statisticsobjdef_columns(oid) AS columns,\n"
2884+
"pg_catalog.pg_get_statisticsobjdef_columns(oid) AS columns,\n"
28852885
" 'd' = any(stxkind) AS ndist_enabled,\n"
28862886
" 'f' = any(stxkind) AS deps_enabled,\n"
28872887
" 'm' = any(stxkind) AS mcv_enabled,\n"
@@ -4734,7 +4734,7 @@ listExtendedStats(const char *pattern)
47344734
if (pset.sversion >= 140000)
47354735
appendPQExpBuffer(&buf,
47364736
"pg_catalog.format('%%s FROM %%s', \n"
4737-
" pg_get_statisticsobjdef_columns(es.oid), \n"
4737+
" pg_catalog.pg_get_statisticsobjdef_columns(es.oid), \n"
47384738
" es.stxrelid::pg_catalog.regclass) AS \"%s\"",
47394739
gettext_noop("Definition"));
47404740
else

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres/commit/07f8a9e784236a3baf707c59cf80d0f015594ffc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy