Access to NEW.column outside of a trigger function.

From: "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Access to NEW.column outside of a trigger function.
Date: 2011-03-31 18:26:03
Message-ID: 482E80323A35A54498B8B70FF2B87980048E0A51FF@azsmsx504.amr.corp.intel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a check constraint that runs a PlPgsql function which returns a pass/fail status which the constraint uses to allow or disallow the value. This is not a trigger function. It's just a plain-ole PlPgsql. Is there a way I can read (not write, just read) the NEW.column values that a trigger function would normally have access to?

Thanks in Advance for any help.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brendan Jurd 2011-03-31 18:46:14 Re: [HACKERS] Date conversion using day of week
Previous Message Steve Crawford 2011-03-31 18:16:44 Re: [HACKERS] Date conversion using day of week