Re: Constraint doesn't see a currently insertet record - Mailing list pgsql-sql

From Michael Fuhr
Subject Re: Constraint doesn't see a currently insertet record
Date
Msg-id 20050213015707.GA25192@winnie.fuhr.org
Whole thread Raw
In response to Constraint doesn't see a currently insertet record  (KÖPFERL Robert <robert.koepferl@sonorys.at>)
List pgsql-sql
On Fri, Feb 11, 2005 at 07:10:50PM +0100, KÖPFERL Robert wrote:

> Another Idea was to make a trigger. But BTW how do I access a trigger
> parameter if my trigger function must not have any parameter??????????

PL/pgSQL triggers can access arguments via TG_ARGV.

http://www.postgresql.org/docs/8.0/static/plpgsql-trigger.html

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


pgsql-sql by date:

Previous
From: "Joel Fradkin"
Date:
Subject: Re: postgres 8 data directory other then default?
Next
From: Marc SCHAEFER
Date:
Subject: Order of columns in a table important in a stored procedure?