Re: Calling triggers with arguments

From: Christopher Murtagh <christopher(dot)murtagh(at)mcgill(dot)ca>
To: Doug McNaught <doug(at)mcnaught(dot)org>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Calling triggers with arguments
Date: 2004-01-24 03:20:28
Message-ID: 1074914427.2254.5.camel@mafalda.murtagh.name
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2004-01-23 at 17:42, Doug McNaught wrote:
> Christopher Murtagh <christopher(dot)murtagh(at)mcgill(dot)ca> writes:
>
> > Greetings,
> >
> > I've come across something that either doesn't work spec'd or I'm
> > missing something (I suspect the latter). I'm trying this:
>
> Read the docs again. Args aren't passed to triggers through the
> normal mechanism but via a special variable.

Thanks for the info. I finally found it (TG_ARGV[]). It certainly isn't
in an obvious place, and not clearly documented, but it was there.

Cheers,

Chris

--
Christopher Murtagh
Enterprise Systems Administrator
ISR / Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax: (514) 398-2017

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2004-01-24 03:27:23 Re: Touch row ?
Previous Message Eric B.Ridge 2004-01-24 02:44:25 Re: Touch row ?