Re: BUG #9895: Duplicate pkey
От | Michael Paquier |
---|---|
Тема | Re: BUG #9895: Duplicate pkey |
Дата | |
Msg-id | CAB7nPqTgyKmZBKz2iMjO9-X3OXMdgekFyE_ZvP8BWBwpRm5SXQ@mail.gmail.com обсуждение исходный текст |
Ответ на | BUG #9895: Duplicate pkey (nk.schjoedt@gmail.com) |
Ответы |
Re: BUG #9895: Duplicate pkey
|
Список | pgsql-bugs |
On Mon, Apr 7, 2014 at 8:57 PM, <nk.schjoedt@gmail.com> wrote: > Hi I just realized that my data contains a few duplicate primary keys! There > has ALWAYS been a PRIMARY KEY constraint on those ID's. The affected records > might have been created while running a previous version of postgresql. 9.3.4 has fixed a data corruption issue in WAL replay that could create inconsistent query results when using an index on a standby. This could lead to violations of primary keys for example. Perhaps you have been bitten by that: http://www.postgresql.org/docs/devel/static/release-9-3-4.html When updating to 9.3.4 it is recommended to replace all the standbys by a new base backup after the update. Regards, -- Michael
В списке pgsql-bugs по дате отправления: