Skip site navigation (1) Skip section navigation (2)

Re: Update needed for documentation

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Justin Clift <justin(at)postgresql(dot)org>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Update needed for documentation
Date: 2001-06-04 19:32:08
Message-ID: 200106041932.f54JW8003774@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-docs
> 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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-docs by date

Next:From: Jeff JohnsonDate: 2001-06-04 19:48:50
Subject: RE: [INTERFACES] libpq sockets on win32
Previous:From: Bruce MomjianDate: 2001-06-04 19:21:49
Subject: Re: [INTERFACES] libpq sockets on win32

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group