pgsql: pg_dump: fix failure to dump comments on constraints in some cas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_dump: fix failure to dump comments on constraints in some cas
Date: 2022-11-02 15:30:11
Message-ID: E1oqFgy-0007cy-1b@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_dump: fix failure to dump comments on constraints in some cases.

Thinko in commit 5209c0ba0: I checked the wrong object's
DUMP_COMPONENT_COMMENT bit in two places.

Per bug #17675 from Franz-Josef Färber.

Discussion: https://postgr.es/m/17675-c69c001e06390867@postgresql.org

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0eede9625659d47a9b3fb1292f71c8b16667326b

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 4 ++--
src/bin/pg_dump/t/002_pg_dump.pl | 15 +++++++++++----
2 files changed, 13 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-11-02 16:29:59 pgsql: Defend against unsupported partition relkind in logical replicat
Previous Message Etsuro Fujita 2022-11-02 09:29:15 pgsql: Fix copy-and-pasteo in comment.