Re: attempted to lock invisible tuple - PG 8.4.1

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: attempted to lock invisible tuple - PG 8.4.1
Дата
Msg-id 20091006173614.GO5929@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: attempted to lock invisible tuple - PG 8.4.1  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Alvaro Herrera wrote:

> create trigger onetest_t before update on onetest for each row
>         execute procedure upd();
>
> insert into onetest select a, repeat('xyzxz', 100), 'new' from generate_series(1, 50) a;
>
> BEGIN;
> SET transaction isolation level SERIALIZABLE;
> UPDATE onetest SET description = 'no no', id = 1 where id = 1;
> commit;

What I don't understand is why this works when the update uses the same
target page.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: attempted to lock invisible tuple - PG 8.4.1
Следующее
От: Filip Rembiałkowski
Дата:
Сообщение: Re: Wishlist of PL/Perl Enhancements for PostgreSQL 8.5