Update needed for documentation
Hi all,
Spotted the following line in the 7.1 Interactive docs, not sure if it's
been updated :
"As of the current release (v7.0), STATEMENT triggers are not
implemented."
It's in the PostgreSQL Doc page which explains "CREATE TRIGGER".
Regards and best wishes,
Justin Clift
Hi all,
Spotted the following line in the 7.1 Interactive docs, not sure if it's
been updated :"As of the current release (v7.0), STATEMENT triggers are not
implemented."It's in the PostgreSQL Doc page which explains "CREATE TRIGGER".
I see in command/trigger.c:
if (stmt->row)
TRIGGER_SETT_ROW(tgtype);
else
elog(ERROR, "CreateTrigger: STATEMENT triggers are unimplemented, yet");
We have per-row triggers but not per-statement triggers. Seems we use
RULEs for those.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
I understand now, and you are correct. There is no reason to mention
the release version in the docs, in most cases. Attached patch applied.
Thanks.
Hi Bruce,
My point was to get the documentation updated, not anything else. Probably
we should bump the statement in the doc's to say "7.1.2".:-)
Regards and best wishes,
Justin Clift
On Tuesday 05 June 2001 05:32, you wrote:
Hi all,
Spotted the following line in the 7.1 Interactive docs, not sure if it's
been updated :"As of the current release (v7.0), STATEMENT triggers are not
implemented."It's in the PostgreSQL Doc page which explains "CREATE TRIGGER".
I see in command/trigger.c:
if (stmt->row)
TRIGGER_SETT_ROW(tgtype);
else
elog(ERROR, "CreateTrigger: STATEMENT triggers are unimplemented,
yet");We have per-row triggers but not per-statement triggers. Seems we use
RULEs for those.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Import Notes
Reply to msg id not found: 01060515053200.00803@justin | Resolved by subject fallback