Re: [HACKERS] Generating History

2001-01-22 Thread Tom Lane
"Rod Taylor" <[EMAIL PROTECTED]> writes: > Is there any easy method for getting a hold of the OID and XID for a > given row within a plpgsql (or another type) of function? > Statements like NEW.oid appear to fail, and xid isn't to be found. The reason this doesn't work in plpgsql is that the und

[HACKERS] Generating History

2001-01-22 Thread Rod Taylor
Is there any easy method for getting a hold of the OID and XID for a given row within a plpgsql (or another type) of function? Statements like NEW.oid appear to fail, and xid isn't to be found. I'd like to use these to create the history of an application which can be rolled back (by the applicat