Re: Bug?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug?
Дата
Msg-id 19638.1005864584@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug?  ("Andrew G. Hammond" <drew@xyzzy.dhs.org>)
Список pgsql-general
"Andrew G. Hammond" <drew@xyzzy.dhs.org> writes:
> Now maybe THAT behaviour should be a bug.  Since the nextval() is
> implicit in the second INSERT, and the second INSERT fails, it would
> make sense to roll back the nextval().

nextval() is never rolled back; this is quite intentional.  See many past
discussions in the archives ...

            regards, tom lane

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

Предыдущее
От: "Gyozo Papp"
Дата:
Сообщение: Re: [PHP] psql with PHP question
Следующее
От: Glenn Sullivan
Дата:
Сообщение: spectral datasets in postgresql