pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING
3+ messages / 1 participants
[nested] [flat]

* pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING
@ 2026-08-17 00:38  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2026-08-17 00:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

psql: Fix \d+ display of REPLICA IDENTITY NOTHING

Commit 18954ce7f69 has replaced hardcoded relreplident values in
describe.c with CppAsString2 macros, but used a DEFAULT instead of a
NOTHING at one location.  This caused \d+ on a table with REPLICA
IDENTITY NOTHING to show incorrect data.

Author: Shinya Kato <shinya11.kato@gmail.com>
Discussion: https://postgr.es/m/CAOzEurRHWt+9XLBrbXQOSVkE45NksJ4F28twuqgZ7veW0RzpUQ@mail.gmail.com
Backpatch-through: 18

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/67342a148632801d44c2fb9a7bf4231b6827c5d2

Modified Files
--------------
src/bin/psql/describe.c                        |  2 +-
src/test/regress/expected/replica_identity.out | 24 ++++++++++++++++++++++++
src/test/regress/sql/replica_identity.sql      |  1 +
3 files changed, 26 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING
@ 2026-08-17 00:38  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2026-08-17 00:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

psql: Fix \d+ display of REPLICA IDENTITY NOTHING

Commit 18954ce7f69 has replaced hardcoded relreplident values in
describe.c with CppAsString2 macros, but used a DEFAULT instead of a
NOTHING at one location.  This caused \d+ on a table with REPLICA
IDENTITY NOTHING to show incorrect data.

Author: Shinya Kato <shinya11.kato@gmail.com>
Discussion: https://postgr.es/m/CAOzEurRHWt+9XLBrbXQOSVkE45NksJ4F28twuqgZ7veW0RzpUQ@mail.gmail.com
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4fb6e9eb753b92c3241473470b66c15523d8de33

Modified Files
--------------
src/bin/psql/describe.c                        |  2 +-
src/test/regress/expected/replica_identity.out | 24 ++++++++++++++++++++++++
src/test/regress/sql/replica_identity.sql      |  1 +
3 files changed, 26 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING
@ 2026-08-17 00:38  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2026-08-17 00:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

psql: Fix \d+ display of REPLICA IDENTITY NOTHING

Commit 18954ce7f69 has replaced hardcoded relreplident values in
describe.c with CppAsString2 macros, but used a DEFAULT instead of a
NOTHING at one location.  This caused \d+ on a table with REPLICA
IDENTITY NOTHING to show incorrect data.

Author: Shinya Kato <shinya11.kato@gmail.com>
Discussion: https://postgr.es/m/CAOzEurRHWt+9XLBrbXQOSVkE45NksJ4F28twuqgZ7veW0RzpUQ@mail.gmail.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/baa7b142aace6821ce085906f314a75bcc4d95c8

Modified Files
--------------
src/bin/psql/describe.c                        |  2 +-
src/test/regress/expected/replica_identity.out | 24 ++++++++++++++++++++++++
src/test/regress/sql/replica_identity.sql      |  1 +
3 files changed, 26 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2026-08-17 00:38 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 00:38 pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING Michael Paquier <michael@paquier.xyz>
2026-08-17 00:38 pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING Michael Paquier <michael@paquier.xyz>
2026-08-17 00:38 pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox