Access to NEW.column outside of a trigger function. - Mailing list pgsql-general

From Gauthier, Dave
Subject Access to NEW.column outside of a trigger function.
Date
Msg-id 482E80323A35A54498B8B70FF2B87980048E0A51FF@azsmsx504.amr.corp.intel.com
Whole thread Raw
Responses Re: Access to NEW.column outside of a trigger function.  (Jerry Sievers <gsievers19@comcast.net>)
List 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.

pgsql-general by date:

Previous
From: Steve Crawford
Date:
Subject: Re: [HACKERS] Date conversion using day of week
Next
From: Brendan Jurd
Date:
Subject: Re: [HACKERS] Date conversion using day of week