Re: probably a bug of data-type serial

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: probably a bug of data-type serial
Дата
Msg-id Pine.LNX.4.30.0110152112290.631-100000@peter.localdomain
обсуждение исходный текст
Ответ на probably a bug of data-type serial  (Ralf Miller <rm@topnet.de>)
Список pgsql-bugs
Ralf Miller writes:

> The example shows that the column number of type serial is incremented
> as if the preceding insert-statement was successfull, even if it was
> not.

The serial type does not provide consecutive numbers, only unique ones.

> The SEQUENCE corresponding to a column of type serial is not beeing
> droped automatically when the table containing the serial-column is
> droped. Does it make sense to store a sequence without a corresponding
> table ?

Possibly you want to use it for more than one table.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

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

Предыдущее
От: "And. Andruikhanov"
Дата:
Сообщение: reclaim database storage
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Bug #478: Integer overflow in pg_dump