Re: probably a bug of data-type serial

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: probably a bug of data-type serial
Дата
Msg-id 14728.1003167151@sss.pgh.pa.us
обсуждение исходный текст
Ответ на probably a bug of data-type serial  (Ralf Miller <rm@topnet.de>)
Список pgsql-bugs
Ralf Miller <rm@topnet.de> 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.

This is intentional.  Sequence nextval() operations do not roll back.

> The SEQUENCE corresponding to a column of type serial is not beeing
> droped
> automatically when the table containing the serial-column is droped.

This is an acknowledged problem; it'll be fixed someday.

            regards, tom lane

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #482: psql (7.1.3) doesn't like sysid=0
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #483: could not copy dump files to postgres directory