Re: [GENERAL] Some MySQL features

Поиск
Список
Период
Сортировка
От Ed Loehr
Тема Re: [GENERAL] Some MySQL features
Дата
Msg-id 384846E1.B503C120@austin.rr.com
обсуждение исходный текст
Ответ на Some MySQL features  ("vincent leycuras" <lv68@hotmail.com>)
Список pgsql-general
"Aaron J. Seigo" wrote:

> > This is a question that could be an answer.  What do y'all think about
> > using the OID to get the same functionality (unless he really needs a
> > sequence of nice small numbers)?
>
> OIDs don't survive dump/reloads and sequences already provide this
> functionality, surviving dump/reloads

The postgres SERIAL type, which is a sequence, is fairly well-suited to
primary key usage.  See PG documentation for details...

Cheers.
Ed Loehr


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

Предыдущее
От: Jesse Kipp
Дата:
Сообщение: Re: [GENERAL] All writes make postgresql a slow database?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [GENERAL] Date & Time