Re: Trigger Procedures - Mailing list pgsql-novice

From Josh Berkus
Subject Re: Trigger Procedures
Date
Msg-id 200505121232.30638.josh@agliodbs.com
Whole thread Raw
In response to Trigger Procedures  (Steve Tucknott <steve@retsol.co.uk>)
List pgsql-novice
Steve,

> At the moment, I can't seem to pass the NEW values into trace_actions.
> Similarly, as trace_actions is a common process, I have no way of
> knowing whether NEW contains 'sourceDetRecNo' or 'sourceDetProdRecNo'
> (unless I case the table name)

You don't pass NEW and OLD as parameters.  They are automatically available
inside the trigger procedure.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-novice by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Using PgSQL in high volume and throughput problem
Next
From: D.C.
Date:
Subject: how to copy data between machines ?