Re: BUG #2379: Duplicate pkeys in table - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #2379: Duplicate pkeys in table
Date
Msg-id 20060406142723.GD15753@surnet.cl
Whole thread Raw
In response to Re: BUG #2379: Duplicate pkeys in table  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: BUG #2379: Duplicate pkeys in table
List pgsql-bugs
Philip Warner wrote:

> # set enable_indexscan=off;
> # SELECT xmin, xmax, cmin, cmax FROM xxx where id = 24613;
>    xmin   |   xmax   | cmin |   cmax
> ----------+----------+------+----------
>  32902771 |        0 |   20 | 32902872
>  32902771 |        0 |   20 | 32902872
>  32902771 |        0 |   20 | 32902872
>  32902771 |        0 |   20 | 32902872
>  32902771 |        0 |   20 | 32902872
>  32902771 | 33048159 |   20 |       20
> (6 rows)

Ugh.

Do the triggers involved have EXCEPTION clauses?  (I assume they are
written in PL/pgSQL -- are there any in other languages?)

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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2379: Duplicate pkeys in table
Next
From: Philip Warner
Date:
Subject: Re: BUG #2379: Duplicate pkeys in table