On 28 Aug 2003, Bo Lorentsen wrote:
> Now ... I know that its possible to omit the oid's from large tables,
> and then this method will not work anymore. What to do in this case
> still eludes me (Anyone ?) :-)
Yes, never use the oid at all is my suggestion.
If you need a unique id for a row then add a serial column that will
provide that, and use currval('the_sequence') to get the last inserted
value in that column for a session.
--
/Dennis