From: Amit Kapila Date: Mon, 13 Apr 2026 05:24:16 +0000 (+0530) Subject: Fix capitalization in publication describe output. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f81c923516237fe842f800a77d4556f9dc35fe5;p=thirdparty%2Fpostgresql.git Fix capitalization in publication describe output. 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 Reviewed-by: vignesh C Discussion: https://postgr.es/m/CAHut+Pt3t_tCYwDStkj5fG4Z=YXrHvPBA7iGdh745QipC5zKeg@mail.gmail.com --- diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 871bf70d1ff..dd1179ef927 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -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++) diff --git a/src/test/regress/expected/publication.out b/src/test/regress/expected/publication.out index a9059a39138..d028e9be866 100644 --- a/src/test/regress/expected/publication.out +++ b/src/test/regress/expected/publication.out @@ -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.)