Re: mysql's last_insert_id

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: mysql's last_insert_id
Дата
Msg-id 200309011647.h81Glbo15918@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: mysql's last_insert_id  (Bo Lorentsen <bl@netgroup.dk>)
Ответы Re: mysql's last_insert_id  (Bo Lorentsen <bl@netgroup.dk>)
Список pgsql-general
Bo Lorentsen wrote:
> On Fri, 2003-08-29 at 04:11, Martijn van Oosterhout wrote:
>
> > OIDs have never beebn unique, it's just that most databases never get big
> > enough to experience wraparound. They are also now optional per table and
> > may soon no longer be available by default.
> It would be a god idea to remove the oid reference from the FAQ
> 4.15.2, to make sure no one in the futhere makes my mistake again :-)

I have added the last clause to the FAQ:

    Finally, you could use the <A href="#4.16"><SMALL>OID</SMALL></A>
    returned from the <SMALL>INSERT</SMALL> statement to look up the
    default value, though this is probably the least portable approach,
    and the oid value will wrap around when it reaches 4 billion.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-general по дате отправления:

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: Re: French translation
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: delivering database stand-alone