error code 25001

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема error code 25001
Дата
Msg-id 20090107.221135.95890034.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответы Re: error code 25001  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Error code 25001 is used for "SET TRANSACTION ISOLATION LEVEL must be
called before any query" when it's an ERROR. However, it also means
"there is already a transaction in progress" when it's a NOTICE.

So we cannot distinguish them just by checking the error code.

So my question is, an error code is used for both an error condition
*and* a warning: is this normal?
--
Tatsuo Ishii
SRA OSS, Inc. Japan


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: dblink vs SQL/MED - security and implementation details
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: incoherent view of serializable transactions