mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Classify DROP operations by whether or not they are user-initiated.
This doesn't do anything useful just yet, but is intended as supporting infrastructure for allowing sepgsql to sensibly check DROP permissions. KaiGai Kohei and Robert Haas
This commit is contained in:
@ -1443,7 +1443,7 @@ finish_heap_swap(Oid OIDOldHeap, Oid OIDNewHeap,
|
||||
* The new relation is local to our transaction and we know nothing
|
||||
* depends on it, so DROP_RESTRICT should be OK.
|
||||
*/
|
||||
performDeletion(&object, DROP_RESTRICT);
|
||||
performDeletion(&object, DROP_RESTRICT, PERFORM_DELETION_INTERNAL);
|
||||
|
||||
/* performDeletion does CommandCounterIncrement at end */
|
||||
|
||||
|
Reference in New Issue
Block a user