1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Add ddl_command_end support for event triggers.

Dimitri Fontaine, with slight changes by me
This commit is contained in:
Robert Haas
2013-01-21 18:00:24 -05:00
parent 765cbfdc92
commit 841a5150c5
8 changed files with 391 additions and 153 deletions

View File

@ -167,6 +167,8 @@ BuildEventTriggerCache(void)
evtevent = NameStr(form->evtevent);
if (strcmp(evtevent, "ddl_command_start") == 0)
event = EVT_DDLCommandStart;
else if (strcmp(evtevent, "ddl_command_end") == 0)
event = EVT_DDLCommandEnd;
else
continue;