pgsql: Sort DO_DEFAULT_ACL dump objects independent of OIDs. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Sort DO_DEFAULT_ACL dump objects independent of OIDs.
Date
Msg-id E1upfK6-001EX9-0D@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Sort DO_DEFAULT_ACL dump objects independent of OIDs.

Commit 0decd5e89db9f5edb9b27351082f0d74aae7a9b6 missed DO_DEFAULT_ACL,
leading to assertion failures, potential dump order instability, and
spurious schema diffs.  Back-patch to v13, like that commit.

Reported-by: Alexander Lakhin <exclusion@gmail.com>
Author: Kirill Reshke <reshkekirill@gmail.com>
Discussion: https://postgr.es/m/d32aaa8d-df7c-4f94-bcb3-4c85f02bea21@gmail.com
Backpatch-through: 13

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e8d22095e5df4d22513ce553998eef899f5f0692

Modified Files
--------------
src/bin/pg_dump/pg_dump_sort.c           | 13 +++++++++++++
src/test/regress/expected/privileges.out |  5 +++++
src/test/regress/sql/privileges.sql      |  7 +++++++
3 files changed, 25 insertions(+)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Revert "Get rid of WALBufMappingLock"
Next
From: Noah Misch
Date:
Subject: pgsql: Rewrite previous commit's test for TestUpgradeXversion compatibi