Fix pg_dump assertion failure when dumping pg_catalog.
Jeff Davis <jdavis@postgresql.org>
Fix pg_dump assertion failure when dumping pg_catalog. Commit 396d348b04 did not account for the default collation. Also, use pg_log_warning() instead of Assert(). Discussion: https://postgr.es/m/ce071503fee88334aa70f360e6e4ea14d48305ee.camel%40j-davis.com Reviewed-by: Michael Paquier Backpatch-through: 15
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_dump.c | modified | +47 −10 |
| src/bin/pg_dump/t/002_pg_dump.pl | modified | +8 −0 |
Discussion
- pg_dump assertion failure with "-n pg_catalog" 8 messages · 2023-06-07 → 2023-09-05