Re: basic trigger using OLD not working?

From: Alban Hertroys <alban(at)magproductions(dot)nl>
To: Rick Casey <rick(dot)casey(at)colorado(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: basic trigger using OLD not working?
Date: 2005-02-25 11:18:42
Message-ID: 421F0992.5010408@magproductions.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rick Casey wrote:
> I am going to answer my own post here since I found more info in some
> threads posted here.
>
> My real question now is: does the OLD variable work at all in plpgsql?
> If not, then some major documentation, books and many posted messages
> appear to be wrong!

It certainly works in BEFORE DELETE triggers. I use several of them
(PostgreSQL 7.4).

--
Alban Hertroys
MAG Productions

T: +31(0)53 4346874
F: +31(0)53 4346876
E: alban(at)magproductions(dot)nl
W: http://www.magproductions.nl

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2005-02-25 11:31:20 Re: Table UPDATE statement
Previous Message Venkatesh Babu 2005-02-25 11:17:47 Table UPDATE statement