]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Sort DO_DEFAULT_ACL dump objects independent of OIDs. REL_17_STABLE github/REL_17_STABLE
authorNoah Misch <noah@leadboat.com>
Sat, 23 Aug 2025 03:50:28 +0000 (20:50 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 23 Aug 2025 03:50:32 +0000 (20:50 -0700)
commite8d22095e5df4d22513ce553998eef899f5f0692
tree609d6df7bbb095497666faeaf9bd065abe82d1da
parent7b434f96462f309098603b01bbc4b319312252c4
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
src/bin/pg_dump/pg_dump_sort.c
src/test/regress/expected/privileges.out
src/test/regress/sql/privileges.sql