kouta
.public
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
set_haut_last_modified_from_related()
Parameters
Name
Type
Mode
IN
Definition
begin if (tg_op = 'DELETE') then update haut set last_modified = now()::timestamptz where oid = old.haku_oid and last_modified <> now()::timestamptz; return null; else update haut set last_modified = now()::timestamptz, muokkaaja = new.muokkaaja where oid = new.haku_oid and last_modified <> now()::timestamptz; return null; end if; end;