Re: attempted to lock invisible tuple - PG 8.4.1

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

> > The test case (invisible.sh) and required dump (foodump.sql - 60k) are
> > at http://www.stuartbishop.net/invisible/
>
> Got it, thanks, looking.

Here's a slightly smaller test case; basically I removed the tsearch2
cruft and extra columns in the table.  One thing of note is that if the
COPY commands is reduced to occupy less than one page in the target
table, the problem does not occur.

To reproduce, restore the attached file and run
BEGIN;
SET transaction_isolation TO SERIALIZABLE;
UPDATE Bug2 SET name='foobar' WHERE id=1;
ABORT;


--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Вложения

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

Предыдущее
От: Alan McKay
Дата:
Сообщение: LF PostgreSQL virtual Linux host provider in India and/or Asia Pac
Следующее
От: David Fetter
Дата:
Сообщение: Re: Wishlist of PL/Perl Enhancements for PostgreSQL 8.5