Re: BUG #15159: Duplicate records for same primary key
От
Michael Paquier
Тема
Re: BUG #15159: Duplicate records for same primary key
Дата
Msg-id
20180419052732.GB16000@paquier.xyz
Ответ на
Re: BUG #15159: Duplicate records for same primary key (Peter Geoghegan)
Список
Дерево обсуждения
Re: BUG #15159: Duplicate records for same primary key "K S, Sandhya (Nokia - IN/Bangalore)" <sandhya.k_s@nokia.com>
Re: BUG #15159: Duplicate records for same primary key Peter Geoghegan <pg@bowt.ie>
Re: BUG #15159: Duplicate records for same primary key Michael Paquier <michael@paquier.xyz>
On Wed, Apr 18, 2018 at 09:49:35AM -0700, Peter Geoghegan wrote: > On Wed, Apr 18, 2018 at 3:10 AM, K S, Sandhya (Nokia - IN/Bangalore) > wrote: >> Also will postgres has any logs which could be used to identify if this bug has appeared ? > > This kind of thing that amcheck's "heapallindexed" option can detect, > which will appear in Postgres 11. You can get a version with > equivalent functionality that targets earlier Postgres releases from > Github (there are official PGDG packages for most Linux systems). The > heapallindexed check can verify that the heap is consistent with > indexes. If you cannot afford to either install or compile this module, then you can go back to the old dump/restore method, tracking what are the rows violating constraints when restoring the data taken in the dump. -- Michael
В списке pgsql-bugs по дате отправления
От: PG Bug reporting form
Дата: