Sort the dependent objects before deletion in DROP OWNED BY.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8aa9dd74b36757342b6208fbfebb5b35c2d67c53
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-03-20T22:06:29Z
Releases: 12.0
Sort the dependent objects before deletion in DROP OWNED BY.

This finishes a task we left undone in commit f1ad067fc, by extending
the delete-in-descending-OID-order rule to deletions triggered by
DROP OWNED BY.  We've coped with machine-dependent deletion orders
one time too many, and the new issues caused by Peter G's recent
nbtree hacking seem like the last straw.

Discussion: https://postgr.es/m/E1h6eep-0001Mw-Vd@gemulon.postgresql.org

Files

Discussion

Cited messages not in the archive: E1h6eep-0001Mw-Vd@gemulon.postgresql.org