Re: oid pseudoattribute in rules

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David J(dot) Trombley" <dtrom(at)bumba(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: oid pseudoattribute in rules
Date: 2002-08-29 05:37:29
Message-ID: 21434.1030599449@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"David J. Trombley" <dtrom(at)bumba(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2002-08-29 06:40:48 rules and functions as arguments
Previous Message David J. Trombley 2002-08-29 05:00:36 oid pseudoattribute in rules