v3-0002-Fix-footer-titles-for-SEQUENCE-describe.patch
application/octet-stream
Filename: v3-0002-Fix-footer-titles-for-SEQUENCE-describe.patch
Type: application/octet-stream
Part: 2
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch v3-0002
Subject: Fix footer titles for SEQUENCE describe
| File | + | − |
|---|---|---|
| src/bin/psql/describe.c | 1 | 1 |
| src/test/regress/expected/publication.out | 2 | 2 |
From cbb5ae8309963de2b2e003cfcc6c6fa761d4f133 Mon Sep 17 00:00:00 2001
From: Peter Smith <peter.b.smith@fujitsu.com>
Date: Mon, 20 Apr 2026 12:33:23 +1000
Subject: [PATCH v3] Fix footer titles for SEQUENCE describe
---
src/bin/psql/describe.c | 2 +-
src/test/regress/expected/publication.out | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
index b315159bcb3..a58598d82a9 100644
--- a/src/bin/psql/describe.c
+++ b/src/bin/psql/describe.c
@@ -1895,7 +1895,7 @@ describeOneTableDetails(const char *schemaname,
if (nrows > 0)
{
- printfPQExpBuffer(&tmpbuf, _("Publications:"));
+ printfPQExpBuffer(&tmpbuf, _("Included in publications:"));
for (i = 0; i < nrows; i++)
appendPQExpBuffer(&tmpbuf, "\n \"%s\"", PQgetvalue(result, i, 0));
diff --git a/src/test/regress/expected/publication.out b/src/test/regress/expected/publication.out
index eb635147644..8d9eb57ed1a 100644
--- a/src/test/regress/expected/publication.out
+++ b/src/test/regress/expected/publication.out
@@ -479,7 +479,7 @@ SELECT pubname, puballtables, puballsequences FROM pg_publication WHERE pubname
Type | Start | Minimum | Maximum | Increment | Cycles? | Cache
--------+-------+---------+---------------------+-----------+---------+-------
bigint | 1 | 1 | 9223372036854775807 | 1 | no | 1
-Publications:
+Included in publications:
"regress_pub_forallsequences1"
\dRp+ regress_pub_forallsequences1
@@ -498,7 +498,7 @@ RESET client_min_messages;
Type | Start | Minimum | Maximum | Increment | Cycles? | Cache
--------+-------+---------+---------------------+-----------+---------+-------
bigint | 1 | 1 | 9223372036854775807 | 1 | no | 1
-Publications:
+Included in publications:
"regress_pub_forallsequences1"
"regress_pub_forallsequences2"
--
2.47.3