aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2025-01-28 10:42:46 +0530
committerAmit Kapila <akapila@postgresql.org>2025-01-28 10:42:46 +0530
commit75eb9766ec201b62f264554019757716093e2a2f (patch)
tree180098e8ce3a3be50dd9029b1cc157e19cf8c7ad /src/bin/psql
parent30a6ed0ce4bb18212ec38cdb537ea4b43bc99b83 (diff)
downloadpostgresql-75eb9766ec201b62f264554019757716093e2a2f.tar.gz
postgresql-75eb9766ec201b62f264554019757716093e2a2f.zip
Rename pubgencols_type to pubgencols in pg_publication.
The column added in commit e65dbc9927, pubgencols_type, was inconsistent with the naming conventions of other columns in the pg_publication catalog. Author: Vignesh C <vignesh21@gmail.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Reviewed-by: Peter Smith <smithpb2250@gmail.com> Discussion: https://postgr.es/m/CALDaNm1u-ufVOW-RUsXSooqzkpohxfZYy=z78fbcr_9Pq5hbCg@mail.gmail.com
Diffstat (limited to 'src/bin/psql')
-rw-r--r--src/bin/psql/describe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
index 2e84b61f184..aa4363b200a 100644
--- a/src/bin/psql/describe.c
+++ b/src/bin/psql/describe.c
@@ -6373,7 +6373,7 @@ listPublications(const char *pattern)
gettext_noop("Truncates"));
if (pset.sversion >= 180000)
appendPQExpBuffer(&buf,
- ",\n (CASE pubgencols_type\n"
+ ",\n (CASE pubgencols\n"
" WHEN '%c' THEN 'none'\n"
" WHEN '%c' THEN 'stored'\n"
" END) AS \"%s\"",
@@ -6507,7 +6507,7 @@ describePublications(const char *pattern)
if (has_pubgencols)
appendPQExpBuffer(&buf,
- ", (CASE pubgencols_type\n"
+ ", (CASE pubgencols\n"
" WHEN '%c' THEN 'none'\n"
" WHEN '%c' THEN 'stored'\n"
" END) AS \"%s\"\n",