1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +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

@@ -41,5 +41,6 @@ extern void AlterEventTriggerOwner_oid(Oid, Oid newOwnerId);
extern bool EventTriggerSupportsObjectType(ObjectType obtype);
extern void EventTriggerDDLCommandStart(Node *parsetree);
extern void EventTriggerDDLCommandEnd(Node *parsetree);
#endif /* EVENT_TRIGGER_H */

View File

@@ -18,7 +18,8 @@
typedef enum
{
EVT_DDLCommandStart
EVT_DDLCommandStart,
EVT_DDLCommandEnd
} EventTriggerEvent;
typedef struct