mirror of https://github.com/postgres/postgres
While the deletion in itself wouldn't break things, any further creation of objects in the script would result in dangling pg_depend entries being added by recordDependencyOnCurrentExtension(). An example from Phil Sorber convinced me that this is just barely likely enough to be worth expending a couple lines of code to defend against. The resulting error message might be confusing, but it's better than leaving corrupted catalog contents for the user to deal with.REL9_1_STABLE
parent
8ab9df0db1
commit
ec3e183ec5
Loading…
Reference in new issue