Re: arguments passed to a trigger function - Mailing list pgsql-general

From Bruce Momjian
Subject Re: arguments passed to a trigger function
Date
Msg-id 200005241414.KAA03946@candle.pha.pa.us
Whole thread Raw
In response to arguments passed to a trigger function  (Louis-David Mitterrand <cunctator@apartia.ch>)
List pgsql-general
Seem my book at:

    http://www.postgresql.org/docs/awbook.html


> In the create_trigger man page:
>
>            EXECUTE PROCEDURE func ( arguments )
>
> But what kind of arguments can be passed? It is not explained in the
> documentation.
>
> After looking at regress.c I undestand that these arguments are
> contained in TriggerData->tg_trigger->tgargs but I can't seem to pass
> anything useful to the procedure beyond random text strings at the
> "CREATE TRIGGER ... " stage.
>
> Thanks in advance for your insight,
>
> --
> Louis-David Mitterrand - ldm@apartia.org - http://www.apartia.fr
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: arguments passed to a trigger function
Next
From: Tom Lane
Date:
Subject: Re: Timezones on Tru64 (Digital Unix)