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-c69c001e06390...@postgresql.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/26ee7fb3684e5809d663f74847fb405f5a84d1af 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(-)