Re: Trigger Procedures

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Steve Tucknott <steve(at)retsol(dot)co(dot)uk>
Cc: PostGreSQL <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Trigger Procedures
Date: 2005-05-12 19:32:30
Message-ID: 200505121232.30638.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message D.C. 2005-05-12 20:05:19 how to copy data between machines ?
Previous Message Josh Berkus 2005-05-12 19:31:07 Re: [NOVICE] Using PgSQL in high volume and throughput problem