Content-Length: 243491 | pFad | https://github.com/postgrespro/postgres_cluster/commit/df18c51f2955f6dc30027c91546a607abd699c40

49 Fix DROP OWNED BY to correctly consider the implicitly-deleted object… · postgrespro/postgres_cluster@df18c51 · GitHub
Skip to content

Commit df18c51

Browse files
committed
Fix DROP OWNED BY to correctly consider the implicitly-deleted objects list for
each object to be deleted, instead of the previous hack that just skipped INTERNAL dependencies, which didn't really work. Per report from Tom Lane. To do this, introduce a new performMultipleDeletions entry point in dependency.c to delete multiple objects at once. The dependency code then has the responsability of tracking INTERNAL and AUTO dependencies as needed. Along the way, change ObjectAddresses so that we can allocate an ObjectAddress list from outside dependency.c and not have to export the internal representation.
1 parent 4e23d6e commit df18c51

File tree

3 files changed

+270
-116
lines changed

3 files changed

+270
-116
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres_cluster/commit/df18c51f2955f6dc30027c91546a607abd699c40

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy