Skip to content

Commit 7846f47

Browse files
committed
Remove, from stable branches, the new assertion of no pg_dump OID sort.
Commit 0decd5e 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
1 parent 64dec80 commit 7846f47

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
@@ -434,7 +434,6 @@ DOTypeNameCompare(const void *p1, const void *p2)
434434
* consequence of the test using "pg_restore -j", which doesn't fully
435435
* constrain OID assignment order.
436436
*/
437-
Assert(false);
438437
return oidcmp(obj1->catId.oid, obj2->catId.oid);
439438
}
440439

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy