Re: oid pseudoattribute in rules

Поиск
Список
Период
Сортировка
Искать

Re: oid pseudoattribute in rules

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"David J. Trombley"  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

oid pseudoattribute in rules

От:
"David J. Trombley" <dtrom@bumba.net>
Дата:


    It seems that the oid attribute is not available from the NEW object 
during an ON INSERT TO rule.
    Can this be confirmed or denied?  Is there any way to get the oid 
that the new row will (eventually?) have?


    -David J. Tombley
    

FAQ