Re: Duplicate primary keys/rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Duplicate primary keys/rows
Дата
Msg-id 6694.1128983548@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Duplicate primary keys/rows  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> On Mon, Oct 10, 2005 at 05:28:17PM -0400, Tom Lane wrote:
>> But people were a bit worried about what
>> might break.

> In catalog/heap.c there already is a SystemAttributeByName() to do the
> legwork. Seems to me all you'd need to do is check just as you're about
> to fail on "attribute not found".

We could certainly make it work as far as the backend is concerned.
The issue is whether there is any client code out there that will fail
if these entries are no longer present in pg_attribute.

            regards, tom lane

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Duplicate primary keys/rows
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: INSERT OR UPDATE?