postgresql/src
Noah Misch d49936f302 Sort DO_SUBSCRIPTION_REL dump objects independent of OIDs.
Commit 0decd5e89d missed
DO_SUBSCRIPTION_REL, leading to assertion failures.  In the unlikely use
case of diffing "pg_dump --binary-upgrade" output, spurious diffs were
possible.  As part of fixing that, align the DumpableObject naming and
sort order with DO_PUBLICATION_REL.  The overall effect of this commit
is to change sort order from (subname, srsubid) to (rel, subname).
Since DO_SUBSCRIPTION_REL is only for --binary-upgrade, accept that
larger-than-usual dump order change.  Back-patch to v17, where commit
9a17be1e24 introduced DO_SUBSCRIPTION_REL.

Reported-by: vignesh C <vignesh21@gmail.com>
Author: vignesh C <vignesh21@gmail.com>
Discussion: https://postgr.es/m/CALDaNm2x3rd7C0_HjUpJFbxpAqXgm=QtoKfkEWDVA8h+JFpa_w@mail.gmail.com
Backpatch-through: 17
2025-12-18 10:23:47 -08:00
..
backend Do not emit WAL for unlogged BRIN indexes 2025-12-18 15:08:48 +02:00
bin Sort DO_SUBSCRIPTION_REL dump objects independent of OIDs. 2025-12-18 10:23:47 -08:00
common Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
fe_utils Add ParallelSlotSetIdle(). 2025-12-09 13:34:22 -06:00
include Fix const correctness in pgstat data serialization callbacks 2025-12-18 07:33:40 +09:00
interfaces libpq-oauth: use correct c_args in meson.build 2025-12-17 11:46:01 -08:00
makefiles Fix meson warning due to missing declaration of NM 2025-12-10 08:10:28 +09:00
pl Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
port Fix O_CLOEXEC flag handling in Windows port. 2025-12-10 09:01:35 +13:00
template Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
test Fix intermittent BF failure in 040_standby_failover_slots_sync. 2025-12-18 05:06:55 +00:00
timezone Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
tools Separate out bytea sort support from varlena.c 2025-12-16 15:19:16 +07:00
tutorial Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in libpq: Refactor logic checking for exit() in shared library builds 2025-12-09 10:39:08 +09:00
Makefile.shlib Use exported symbols list on macOS for loadable modules as well 2025-06-10 07:04:43 +02:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00