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 <pg@bowt.ie>)
Список pgsql-bugs
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)
> <sandhya.k_s@nokia.com> 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 по дате отправления:

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: Ignored join clause
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15162: individual user can connect from anywhere with pgadmin