...

Поиск
Список
Период
Сортировка
От Doug Smith
Тема ...
Дата
Msg-id 000c01bdf3b0$5aecbd60$f61fe618@here.the-bridge.net
обсуждение исходный текст
Список pgsql-general
I'm trying to do some error handling with  Postgres, ie.=20
Query failed: ERROR: Cannot insert a duplicate key into a unique index=20

I know what the problem is but don't know how to handle the error.

In Oracle pl/sql I would use 'exception <error#> | <error msg>'

but with postgres and can't find any doc on how to work around this.

Any help would be greatly appreciated.

Doug...

doug@the-bridge.net

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

Предыдущее
От: Steve Doliov
Дата:
Сообщение: Re: [GENERAL] Making NULLs visible.
Следующее
От: Thomas Good
Дата:
Сообщение: Re: [GENERAL] Making NULLs visible.