diff options
author | Robert Haas <rhaas@postgresql.org> | 2012-07-18 10:16:16 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2012-07-18 10:16:16 -0400 |
commit | 3855968f328918b6cd1401dd11d109d471a54d40 (patch) | |
tree | 37cf34023851c0c3d14f30b4833937cfaeb2fa34 /src/bin/psql/command.c | |
parent | faf26bf1175530cc97ce3e804ff10dc2be7026d3 (diff) |
Syntax support and documentation for event triggers.
They don't actually do anything yet; that will get fixed in a
follow-on commit. But this gets the basic infrastructure in place,
including CREATE/ALTER/DROP EVENT TRIGGER; support for COMMENT,
SECURITY LABEL, and ALTER EXTENSION .. ADD/DROP EVENT TRIGGER;
pg_dump and psql support; and documentation for the anticipated
initial feature set.
Dimitri Fontaine, with review and a bunch of additional hacking by me.
Thom Brown extensively reviewed earlier versions of this patch set,
but there's not a whole lot of that code left in this commit, as it
turns out.
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index c5ec9819ea1..8abadb26c49 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -490,6 +490,9 @@ exec_command(const char *cmd, else success = listExtensions(pattern); break; + case 'y': /* Event Triggers */ + success = listEventTriggers(pattern, show_verbose); + break; default: status = PSQL_CMD_UNKNOWN; } |