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

From KÖPFERL Robert
Subject Re: Constraint doesn't see a currently insertet record
Date
Msg-id ED4E30DD9C43D5118DFB00508BBBA76EB165C7@neptun.sonorys.at
Whole thread Raw
In response to Constraint doesn't see a currently insertet record  (KÖPFERL Robert <robert.koepferl@sonorys.at>)
List pgsql-sql
Thanks.

I managed it via a trigger.



> -----Original Message-----
> From: Michael Fuhr [mailto:mike@fuhr.org]
> Sent: Sonntag, 13. Februar 2005 02:57
> To: KÖPFERL Robert
> Cc: pgsql-sql@postgresql.org
> Subject: Re: [SQL] Constraint doesn't see a currently insertet record
>
>
> 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: Mihail Nasedkin
Date:
Subject: Re: How to view the list of tables?
Next
From: George Weaver
Date:
Subject: Re: Working with XML.