pgsql: Fix pg_dump assertion failure when dumping pg_catalog.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix pg_dump assertion failure when dumping pg_catalog.
Date: 2023-08-22 20:08:31
Message-ID: E1qYXfz-000MJH-6v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1d9976d1bd0067099753820c427139696d38b4a1

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 57 +++++++++++++++++++++++++++++++++-------
src/bin/pg_dump/t/002_pg_dump.pl | 8 ++++++
2 files changed, 55 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2023-08-22 23:37:51 pgsql: doc: PG 16 relnotes: properly indent and word-wrap text
Previous Message Jeff Davis 2023-08-22 20:08:24 pgsql: Fix pg_dump assertion failure when dumping pg_catalog.