summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2025-08-10 13:05:13 -0700
committerNoah Misch <noah@leadboat.com>2025-08-10 13:05:16 -0700
commit28e7252e450aa710a438a34c3a4470a494e9001b (patch)
tree00319c268a31aa88d8f42f6c4477717d986860cd /src
parentb70d9de77f337828ca3a0a3064a6827b1ce68977 (diff)
Remove, from stable branches, the new assertion of no pg_dump OID sort.
Commit 0decd5e89db9f5edb9b27351082f0d74aae7a9b6 recently added the assertion to confirm dump order remains independent of OID values. The assertion remained reachable via DO_DEFAULT_ACL. Given the release wrap tomorrow, make the assertion master-only. Reported-by: Alexander Lakhin <exclusion@gmail.com> Reviewed-by: Robert Haas <robertmhaas@gmail.com> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/d32aaa8d-df7c-4f94-bcb3-4c85f02bea21@gmail.com Backpatch-through: 13-18
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump_sort.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump_sort.c b/src/bin/pg_dump/pg_dump_sort.c
index 62e27b8d176..ffaceb93644 100644
--- a/src/bin/pg_dump/pg_dump_sort.c
+++ b/src/bin/pg_dump/pg_dump_sort.c
@@ -450,7 +450,6 @@ DOTypeNameCompare(const void *p1, const void *p2)
* consequence of the test using "pg_restore -j", which doesn't fully
* constrain OID assignment order.
*/
- Assert(false);
return oidcmp(obj1->catId.oid, obj2->catId.oid);
}