Re: Row values - Mailing list pgsql-general

From Tom Lane
Subject Re: Row values
Date
Msg-id 15720.1088786892@sss.pgh.pa.us
Whole thread Raw
In response to Row values  (Juan Jose Costello Levien <jcostello@datafull.com>)
List pgsql-general
Juan Jose Costello Levien <jcostello@datafull.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

pgsql-general by date:

Previous
From: Juan Jose Costello Levien
Date:
Subject: Re: Row values
Next
From: Bruno Wolff III
Date:
Subject: Re: Row-level security--is it possible?