1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +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:
Robert Haas
2012-01-26 09:24:54 -05:00
parent bc3347484a
commit 0e549697d1
14 changed files with 61 additions and 30 deletions

View File

@ -119,7 +119,7 @@ RemoveObjects(DropStmt *stmt)
}
/* Here we really delete them. */
performMultipleDeletions(objects, stmt->behavior);
performMultipleDeletions(objects, stmt->behavior, 0);
free_object_addresses(objects);
}