]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pg_dump: fix failure to dump comments on constraints in some cases.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Nov 2022 15:30:04 +0000 (11:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Nov 2022 15:30:04 +0000 (11:30 -0400)
commit0eede9625659d47a9b3fb1292f71c8b16667326b
tree0aa137a53fb3779ba0003b707a218ca56e566060
parentd5e1748f02fb54cff276e7714be474f4e9a9de72
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
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/t/002_pg_dump.pl