Re: oid pseudoattribute in rules - Mailing list pgsql-general

From Tom Lane
Subject Re: oid pseudoattribute in rules
Date
Msg-id 21434.1030599449@sss.pgh.pa.us
Whole thread Raw
In response to oid pseudoattribute in rules  ("David J. Trombley" <dtrom@bumba.net>)
List pgsql-general
"David J. Trombley" <dtrom@bumba.net> writes:
> Is there any way to get the oid
> that the new row will (eventually?) have?

No, because it hasn't got it yet.

I think you could get the OID in an AFTER trigger, if that helps any.

            regards, tom lane

pgsql-general by date:

Previous
From: "David J. Trombley"
Date:
Subject: oid pseudoattribute in rules
Next
From: Jeff Davis
Date:
Subject: rules and functions as arguments