How to tell why an insert failed?

Поиск
Список
Период
Сортировка
От Jeremy Cowgar
Тема How to tell why an insert failed?
Дата
Msg-id 1025037401.2149.1.camel@dsktop
обсуждение исходный текст
Ответ на Re: Proxy Server ...  ("Marc G. Fournier" <scrappy@hub.org>)
Ответы Re: How to tell why an insert failed?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
In C I would like to tell if an insert failed and why. In particular if
it failed because of a duplicate value in a field marked unique.

Can this be done, how? If not, is their a work around besides querying
each unique field for a dup?

Thanks,

Jeremy





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

Предыдущее
От: "Tom Burke"
Дата:
Сообщение: Re: indexes greatly slowing data entry
Следующее
От: "William N. Zanatta"
Дата:
Сообщение: Re: Help with Arrays and References