Referencing any field in a trigger - Mailing list pgsql-general

From Robert Fitzpatrick
Subject Referencing any field in a trigger
Date
Msg-id 1180106270.15450.24.camel@columbus.webtent.org
Whole thread Raw
Responses Re: Referencing any field in a trigger
Re: Referencing any field in a trigger
List pgsql-general
How can I reference any NEW field in an insert/update trigger function?
When someone inserts or updates any field with a single asterisk (*), I
need it to become '%%%'. But if they use an asterisk in any combination
with other fields, then I want to TRANSLATE those asterisks to a single
'%'.

I was hoping not to have to test every field in the table.

--
Robert


pgsql-general by date:

Previous
From: Erik Jones
Date:
Subject: Re: why postgresql over other RDBMS
Next
From: SCassidy@overlandstorage.com
Date:
Subject: Re: bytea & perl