pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING

Поиск
Список
Период
Сортировка
Искать

pgsql: psql: Fix \d+ display of REPLICA IDENTITY NOTHING

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
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 
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(-)

FAQ