]> granicus.if.org Git - postgresql/commit
Fix broken support for event triggers as extension members.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Dec 2013 19:00:05 +0000 (14:00 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Dec 2013 19:00:05 +0000 (14:00 -0500)
commit9a6e2b150fd8e024d638ed4f03d61a3fa26e4165
tree8e5390b3880bb266b036f01036003607c583fb4b
parent140b0626e882316386ed422b160d6435467ca1f6
Fix broken support for event triggers as extension members.

CREATE EVENT TRIGGER forgot to mark the event trigger as a member of its
extension, and pg_dump didn't pay any attention anyway when deciding
whether to dump the event trigger.  Per report from Moshe Jacobson.

Given the obvious lack of testing here, it's rather astonishing that
ALTER EXTENSION ADD/DROP EVENT TRIGGER work, but they seem to.
src/backend/commands/event_trigger.c
src/bin/pg_dump/pg_dump.c