Skip to content

Commit 0a8d24d

Browse files
nmischhopebo
authored andcommitted
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 <[email protected]> Reviewed-by: Robert Haas <[email protected]> Reviewed-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 13-18 (cherry picked from commit 28e7252e450aa710a438a34c3a4470a494e9001b)
1 parent 23cbbd7 commit 0a8d24d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/bin/pg_dump/pg_dump_sort.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ DOTypeNameCompare(const void *p1, const void *p2)
450450
* consequence of the test using "pg_restore -j", which doesn't fully
451451
* constrain OID assignment order.
452452
*/
453-
Assert(false);
454453
return oidcmp(obj1->catId.oid, obj2->catId.oid);
455454
}
456455

0 commit comments

Comments
 (0)