Re: how to catch the error in procedure ?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: how to catch the error in procedure ?
Дата
Msg-id 200401160941.16268.dev@archonet.com
обсуждение исходный текст
Ответ на how to catch the error in procedure ?  ("LitelWang" <wlxyk@vip.163.com>)
Ответы Re: how to catch the error in procedure ?  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-general
On Friday 16 January 2004 04:50, LitelWang wrote:
> I need catch the error when my insert clause violate the
> primary key .How to write in the server function ?
> Thanks for any advice .

You can't (at the moment). An error terminates a transaction immediately in
PG's current model.

--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: Ritu Khetan
Дата:
Сообщение: Newbie to Postgres - Urgent query
Следующее
От: David Garamond
Дата:
Сообщение: Re: fixed-length row