Re: any way for a transaction to "see" inserts done earlier in the transaction?

Поиск
Список
Период
Сортировка
От Susan Cassidy
Тема Re: any way for a transaction to "see" inserts done earlier in the transaction?
Дата
Msg-id CAE3Q8onfztrVLvfzJy3WT7YfYxJO80VNmxzwKhH7gH5fb99B1Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: any way for a transaction to "see" inserts done earlier in the transaction?  (Bosco Rama <postgres@boscorama.com>)
Список pgsql-general
It seems to be returning the right id.  It should be next for the serial datatype.

Susan


On Wed, Apr 16, 2014 at 5:13 PM, Bosco Rama <postgres@boscorama.com> wrote:
On 04/16/14 17:08, Susan Cassidy wrote:
> The function does a select to see if the id number exists, and it fails.
> NOT FOUND causes a RAISE EXCEPTION.

Is it returning the right id?  I seem to remember a recent thread
about Perl DBI returning the wrong id's for certain operations.

Just at thought.

Bosco.

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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: any way for a transaction to "see" inserts done earlier in the transaction?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: any way for a transaction to "see" inserts done earlier in the transaction?