]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix capitalization in publication describe output.
authorAmit Kapila <akapila@postgresql.org>
Mon, 13 Apr 2026 05:24:16 +0000 (10:54 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 13 Apr 2026 05:24:16 +0000 (10:54 +0530)
Consistent with existing psql metadata display conventions, update the
description tags for EXCEPT publications to use lowercase for the second
word (e.g., "Except tables" instead of "Except Tables"). This aligns the
output style with other publication describe commands.

Author: Peter Smith <smithpb2250@gmail.com>
Reviewed-by: vignesh C <vignesh21@gmail.com>
Discussion: https://postgr.es/m/CAHut+Pt3t_tCYwDStkj5fG4Z=YXrHvPBA7iGdh745QipC5zKeg@mail.gmail.com

src/bin/psql/describe.c
src/test/regress/expected/publication.out

index 871bf70d1ff38cd213560fb3a8b88382fe651d99..dd1179ef927be8bc02f891807dfef32828fa9faf 100644 (file)
@@ -3306,7 +3306,7 @@ describeOneTableDetails(const char *schemaname,
                                tuples = PQntuples(result);
 
                        if (tuples > 0)
-                               printTableAddFooter(&cont, _("Except Publications:"));
+                               printTableAddFooter(&cont, _("Except publications:"));
 
                        /* Might be an empty set - that's ok */
                        for (i = 0; i < tuples; i++)
index a9059a391386fa9dfdaf95cdd2056f6e74b7cbee..d028e9be866b5cba7e6541b39dfa97cfe5dd3132 100644 (file)
@@ -252,7 +252,7 @@ Indexes:
     "testpub_tbl1_pkey" PRIMARY KEY, btree (id)
 Publications:
     "testpub_foralltables"
-Except Publications:
+Except publications:
     "testpub_foralltables_excepttable"
     "testpub_foralltables_excepttable1"
 
@@ -435,7 +435,7 @@ Except tables:
 --------+---------+-----------+----------+---------
  a      | integer |           |          | 
 Partition of: testpub_root FOR VALUES FROM (0) TO (100)
-Except Publications:
+Except publications:
     "testpub8"
 
 \d testpub_root
@@ -444,7 +444,7 @@ Except Publications:
 --------+---------+-----------+----------+---------
  a      | integer |           |          | 
 Partition key: RANGE (a)
-Except Publications:
+Except publications:
     "testpub8"
 Number of partitions: 1 (Use \d+ to list them.)