Re: Row values

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Juan Jose Costello Levien <jcostello(at)datafull(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Row values
Date: 2004-07-02 16:48:12
Message-ID: 15720.1088786892@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Juan Jose Costello Levien <jcostello(at)datafull(dot)com> writes:
> I don't know if tgargs[] return the row values or the field names.

Neither --- it's the (fixed) arguments you used in the CREATE TRIGGER
command. You'll need to do something involving extracting field values
from the tuple that is passed to the trigger, instead.

I'd suggest looking in the contrib/ modules for examples of triggers
written in C.

regards, tom lane

In response to

  • Row values at 2004-07-02 10:36:50 from Juan Jose Costello Levien

Browse pgsql-general by date

  From Date Subject
Next Message joseph speigle 2004-07-02 16:55:20 Re: How to add an userA to login postgresadmin
Previous Message Andy B 2004-07-02 16:27:42 Re: postgresql +AMD64 +big address spaces - does it work?