mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 12:41:20 +02:00
STATEMENT triggers are not implemented - elog (WARN).
This commit is contained in:
parent
01a89482df
commit
7a5d3fbd9b
@ -86,6 +86,9 @@ CreateTrigger(CreateTrigStmt * stmt)
|
|||||||
TRIGGER_SETT_BEFORE(tgtype);
|
TRIGGER_SETT_BEFORE(tgtype);
|
||||||
if (stmt->row)
|
if (stmt->row)
|
||||||
TRIGGER_SETT_ROW(tgtype);
|
TRIGGER_SETT_ROW(tgtype);
|
||||||
|
else
|
||||||
|
elog (WARN, "CreateTrigger: STATEMENT triggers are unimplemented, yet");
|
||||||
|
|
||||||
for (i = 0; i < 3 && stmt->actions[i]; i++)
|
for (i = 0; i < 3 && stmt->actions[i]; i++)
|
||||||
{
|
{
|
||||||
switch (stmt->actions[i])
|
switch (stmt->actions[i])
|
||||||
|
Loading…
Reference in New Issue
Block a user