Re: [proposal] Add an option for returning SQLSTATE in psql error message

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: [proposal] Add an option for returning SQLSTATE in psql error message
Дата
Msg-id 87k1kr4c6v.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: [proposal] Add an option for returning SQLSTATE in psql error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [proposal] Add an option for returning SQLSTATE in psql error message  (didier <did447@gmail.com>)
Список pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:

 Tom> I don't buy that argument. We use psql's normal display in all the
 Tom> regular regression tests, and it's not a big maintenance problem.

The regular regression tests have the advantage that they don't need to
work across pg versions.

It is more of a problem for extensions; I just ran into this myself in
fact, with a test failing because "invalid input syntax for integer" got
changed to "invalid input syntax for type integer".

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: "Ideriha, Takeshi"
Дата:
Сообщение: RE: idle-in-transaction timeout error does not give a hint
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: AllocSetContextCreate changes breake extensions