craigp wrote:
>1) does it make sense (and would it be possible) to make a rule which would,
>say, somehow write into the oid field of a tuple to be returned by lastoid? i'm
>assuming here that the database would not have oid's enabled.
>
>
>
We do this in a trigger. We assign the NEXTVAL to a variable, write
that to the row, then raise its value as a notice. Then we just
retrieve the notice.