Re: Nested xacts: looking for testers and review

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Nested xacts: looking for testers and review
Дата
Msg-id 20040528173910.P98327@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Nested xacts: looking for testers and review  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Ответы Re: Nested xacts: looking for testers and review
Список pgsql-hackers
On Wed, 26 May 2004, Alvaro Herrera wrote:

> I have tested it and it passes all regression tests (including ones I
> added), plus some more tests I threw at it mainly for concurrency.
> Everything behaves as expected.  At this time I'd like to have it
> reviewed by the critic eye of the committers, and tested by whoever
> would be using it.
>
> I'm open for comments and suggestions and general input.  Thank you.

I unfortunately didn't really follow the discussions in the past (sorry :(
), but are the transaction state modifying statements done in a
subtransaction supposed to live beyond subtransaction rollback?

For example,
sszabo=# begin;
BEGIN
sszabo=# begin;
BEGIN
sszabo=# set transaction read only;
SET
sszabo=# select * from a;a
---6
(1 row)

sszabo=# rollback;
ROLLBACK
sszabo=# update a set a=6;
ERROR:  transaction is read-only


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

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: false infinite recursion detected
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Nested xacts: looking for testers and review