Re: [GENERAL] Duplicate rows during pg_dump

2015-10-26 Thread Marc Mamin
> -Original Message- > From: Jim Nasby [mailto:jim.na...@bluetreble.com] > Sent: Montag, 26. Oktober 2015 01:55 > To: Marc Mamin; Adrian Klaver; Chaz Yoon; pgsql-general@postgresql.org > Subject: Re: [GENERAL] Duplicate rows during pg_dump > > On 10/24/15 3:15

Re: [GENERAL] Duplicate rows during pg_dump

2015-10-25 Thread Tom Lane
Jim Nasby writes: > On 10/24/15 3:15 PM, Marc Mamin wrote: > Any suggestions for what to look for next? Is it table corruption? >> Most likely is the index corrupt, not the table. >> You should check for further duplicates, fix them and as Adrian writes, >> build a new index an then drop the corru

Re: [GENERAL] Duplicate rows during pg_dump

2015-10-25 Thread Jim Nasby
On 10/24/15 3:15 PM, Marc Mamin wrote: Any suggestions for what to look for next? Is it table corruption? Most likely is the index corrupt, not the table. You should check for further duplicates, fix them and as Adrian writes, build a new index an then drop the corrupt one. I've seen this a few

Re: [GENERAL] Duplicate rows during pg_dump

2015-10-24 Thread Marc Mamin
>On 10/24/2015 12:35 PM, Chaz Yoon wrote: >> I am seeing a duplicate, stale copy of the same row when performing a >> pg_dump or copying a specific table, but not when directly selecting >> from it. I'm running PostgreSQL 9.3.9 on Amazon RDS, with 9.3.10 client >> tools. >> >> It's happening on a

Re: [GENERAL] Duplicate rows during pg_dump

2015-10-24 Thread Adrian Klaver
On 10/24/2015 12:35 PM, Chaz Yoon wrote: I am seeing a duplicate, stale copy of the same row when performing a pg_dump or copying a specific table, but not when directly selecting from it. I'm running PostgreSQL 9.3.9 on Amazon RDS, with 9.3.10 client tools. It's happening on a users table, whic

[GENERAL] Duplicate rows during pg_dump

2015-10-24 Thread Chaz Yoon
I am seeing a duplicate, stale copy of the same row when performing a pg_dump or copying a specific table, but not when directly selecting from it. I'm running PostgreSQL 9.3.9 on Amazon RDS, with 9.3.10 client tools. It's happening on a users table, which has a primary key and enforces a unique e