Re: Using transactions with plpythonu

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using transactions with plpythonu
Дата
Msg-id 27799.1169403126@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using transactions with plpythonu  ("imageguy" <imageguy1206@gmail.com>)
Ответы Re: Using transactions with plpythonu  ("imageguy" <imageguy1206@gmail.com>)
Список pgsql-general
"imageguy" <imageguy1206@gmail.com> writes:
> In my testing so far, it seems that each call to plpy.execute('INSERT
> INTO ....') is committed immediately.

On what do you base that (erroneous) conclusion?

The fact that a transaction can see its own updates does not mean they
are committed.

            regards, tom lane

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

Предыдущее
От: "Jaime Casanova"
Дата:
Сообщение: Re: Migrate 8.0 dump to 7.4
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Using transactions with plpythonu