| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | ldm(at)apartia(dot)com |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: arguments passed to a trigger function |
| Date: | 2000-05-24 14:16:38 |
| Message-ID: | 200005241416.KAA04056@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
See the Programmer's Manual for examples.
> 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(at)apartia(dot)org - http://www.apartia.fr
>
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hannu Krosing | 2000-05-24 14:17:48 | Re: Re: [HACKERS] Postgresql OO Patch |
| Previous Message | Bruce Momjian | 2000-05-24 14:14:57 | Re: arguments passed to a trigger function |