Re: duplicates rejected by index reports PGSQL_FATAL_ERROR

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: duplicates rejected by index reports PGSQL_FATAL_ERROR
Дата
Msg-id 19823.1067634996@sss.pgh.pa.us
обсуждение исходный текст
Ответ на duplicates rejected by index reports PGSQL_FATAL_ERROR  (tj <tj@getlostspammer.com>)
Список pgsql-general
tj <tj@getlostspammer.com> writes:
> Its not really a fatal error, is it?  Shouldn't it be reported as a
> NONFATAL_ERROR ?

It's "fatal" to the particular query that was executing.
PGRES_NONFATAL_ERROR is only used for notice messages.  These constant
names are perhaps rather poorly chosen, but we can't change them now
without incurring an unreasonable amount of confusion and backwards
compatibility problems ...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Custom types and arrays
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: slow query performance