Cannot use all four trigger events at once

From: Greg Sabino Mullane <greg(at)turnstep(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Cannot use all four trigger events at once
Date: 2009-06-17 20:22:51
Message-ID: 4A39509B.6060803@turnstep.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

This was failing:

CREATE TRIGGER foo
AFTER INSERT OR UPDATE OR DELETE OR TRUNCATE
ON foobar
FOR EACH STATEMENT EXECUTE PROCEDURE baz();

Turns out the parser wasn't set up to handle four different trigger
event types. Patch attached.

--
Greg Sabino Mullane greg(at)endpoint(dot)com greg(at)turnstep(dot)com
End Point Corporation 610-983-9073
PGP Key: 0x14964AC8 200906171620
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

Attachment Content-Type Size
trigger_four_events.patch text/x-patch 563 bytes

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-06-17 22:50:30 Re: [HACKERS] Cannot use all four trigger events at once
Previous Message Tom Lane 2009-06-16 15:50:25 Re: BUG #4854: Problems with replaying WAL files on Warm Standby

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-06-17 21:16:24 Re: Named transaction
Previous Message Andrew Dunstan 2009-06-17 19:51:02 Re: Named transaction