trigger column update - Mailing list pgsql-general

From Bolden, Thomas
Subject trigger column update
Date
Msg-id D2421549D378D3119D4E000629840F070741F3CD@ECOEXCHG
Whole thread Raw
List pgsql-general
I am porting over a trigger from oracle.

"CREATE  TRIGGER TR_CLUSCODE_UPD AFTER UPDATE OF STFIPS, CLUSCODE,
CLUSTITLE, CLUSDESC ON CLUSCODE
FOR EACH ROW EXECUTE"

The trigger is column dependent and according to the online docs.
"


The CREATE TRIGGER statement in PostgreSQL implements a subset of the SQL99
standard. The following functionality is missing:


*
SQL99 allows triggers to fire on updates to specific columns (e.g., AFTER
UPDATE OF col1, col2).

"
anyone know a work around.


Thomas Bolden
Department of Economic Development
GIS Programmer
(573) 751-3672
tbolden@ded.state.mo.us




pgsql-general by date:

Previous
From: Hubert depesz Lubaczewski
Date:
Subject: when to use index, and when not to us index - *the* answer :)
Next
From: "Peter Darley"
Date:
Subject: Vacuum problem