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
<dtrom@bumba.net>
"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
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.