Re: how could duplicate pkey exist in psql?

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: how could duplicate pkey exist in psql?
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C207200DEA@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на how could duplicate pkey exist in psql?  (Yan Chunlu <springrider@gmail.com>)
Список pgsql-general
Yan Chunlu wrote:
> recently I have found several tables has exactly the same pkey,  here
is the definition:
> "diggcontent_data_account_pkey" PRIMARY KEY, btree (thing_id, key)
>
>
> the data is like this:
>
>    159292 | funnypics_link_point       | 41
> | num
>    159292 | funnypics_link_point       | 40
> | num
>
>
> I could not even update this record.

It could be a software bug or something else, but did you ever
restore the database after a storage problem?

This has happened to me once:
http://archives.postgresql.org/pgsql-general/2010-02/msg00971.php

Yours,
Laurenz Albe

В списке pgsql-general по дате отправления:

Предыдущее
От: Raghavendra
Дата:
Сообщение: Re: Foreign Tables
Следующее
От: Szymon Guz
Дата:
Сообщение: Re: how could duplicate pkey exist in psql?