summaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorAlvaro Herrera2015-03-11 22:23:47 +0000
committerAlvaro Herrera2015-03-11 22:23:47 +0000
commit4464303405f1f886d63f8316386621cd7436c5d6 (patch)
tree5e9b0ce63f073d9a4cca047330bcf6a145df30f8 /src/backend/commands
parentd4d7777548ed3ea2ca579003e37f9df4d0e0ab9e (diff)
Support default ACLs in get_object_address
In the spirit of 890192e99af, this time add support for the things living in the pg_default_acl catalog. These are not really "objects", but they show up as such in event triggers. There is no "DROP DEFAULT PRIVILEGES" or similar command, so it doesn't look like the new representation given would be useful anywhere else, so I didn't try to use it outside objectaddress.c. (That might be a bug in itself, but that would be material for another commit.) Reviewed by Stephen Frost.
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/event_trigger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/commands/event_trigger.c b/src/backend/commands/event_trigger.c
index 4e446bd25cd..3fec57ea237 100644
--- a/src/backend/commands/event_trigger.c
+++ b/src/backend/commands/event_trigger.c
@@ -1065,6 +1065,7 @@ EventTriggerSupportsObjectType(ObjectType obtype)
case OBJECT_COLUMN:
case OBJECT_COLLATION:
case OBJECT_CONVERSION:
+ case OBJECT_DEFACL:
case OBJECT_DEFAULT:
case OBJECT_DOMAIN:
case OBJECT_DOMCONSTRAINT: