how to retrieve error message details

Поиск
Список
Период
Сортировка
От Andrus
Тема how to retrieve error message details
Дата
Msg-id df90pi$2cjj$1@news.hub.org
обсуждение исходный текст
Список pgsql-general
in PgAdmin, running wrong insert command causes error like

ERROR:  insert or update on table "dok" violates foreign key constraint
"dok_klient_fkey"
DETAIL:  Key (klient)=(gg          ) is not present in table "klient".

Running same command through ODBC driver returns only first line.

How to retrieve DETAIL line (key name and value) which violates referential
integrity from Postgres after receiving this error ?

Andrus.



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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: same size VARCHAR or INT IX faster?
Следующее
От: Dick Kniep
Дата:
Сообщение: Re: Schema problems RedHat / SuSE 9.3 for version 7.4.8