Re: Strange problem with create table as select * from table;

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org, depesz(at)depesz(dot)com
Subject: Re: Strange problem with create table as select * from table;
Date: 2011-11-03 14:00:30
Message-ID: 201111030700.30436.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thursday, November 03, 2011 1:25:58 am hubert depesz lubaczewski wrote:
> Hi
> We have pretty weird situation, which seems to be impossible, but perhaps
> you'll notice something that will let me fix the problem.
>
> System: SunOS 5.11 snv_130
> Pg: PostgreSQL 8.4.7 on i386-pc-solaris2.11, compiled by cc: Sun C 5.10
> SunOS_i386 2009/06/03, 64-bit
>

>
> I also verified that there are no concurrent updates that would set
> xobject_id to -1, so it's not a problem of isolation.
>
> During the night I repeated the procedure and the rows that got duplicated
> seem to be the same - at the very least - the same magic_id.
>
> Does above seem sensible for anyone? Any suggestions on what could be
> broken?

Do the xobject_id values have other negative numbers or is -1 just a special
case? The only thing I can think of is a corrupted index on xobject_id.

>
> Best regards,
>
> depesz

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2011-11-03 14:15:22 Re: Strange problem with create table as select * from table;
Previous Message Martín Marqués 2011-11-03 13:36:56 Re: 9.1 replication on different arch

Browse pgsql-hackers by date

  From Date Subject
Next Message hubert depesz lubaczewski 2011-11-03 14:15:22 Re: Strange problem with create table as select * from table;
Previous Message Simon Riggs 2011-11-03 13:52:00 Re: heap vacuum & cleanup locks