| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING |
| Date: | 2026-08-17 00:38:07 |
| Message-ID: | E1wvlMc-00000000qy9-3Ex8@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)kato(at)gmail(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-08-17 07:17:00 | pgsql: Use safer allocation routines in more places of the tree |
| Previous Message | Michael Paquier | 2026-08-16 23:53:56 | pgsql: Fix ASAN failure after flex errors in GUC file parsing |