Thread: OID on triggers

OID on triggers

From
Igor Gavriloff
Date:
Hello everyone,
   I'm trying to execute a trigger (for each row) in a table that
inherits another one and trying to "see" the value of the OID field of
that row in the OLD record passed to the function, but the backend
returns the following:

ERROR:  record old has no field oid
   Is there anyway to implement this with pgplsql in 6.5.3? I
couldn't figure out if this is a bug in this version because I
couldn't try 7.0.2 (compiled ok, but didn't install properly) on my
Solaris machine.

Thanks in advance,
Igor.

--
Is your job running?  You'd better go catch it!