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

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: [proposal] Add an option for returning SQLSTATE in psql error message
Дата
Msg-id CAFj8pRAK80pU_eKO91r9QipfA4TPtmr7Jsyq-AxzQzGythhsFw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [proposal] Add an option for returning SQLSTATE in psql error message  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers


po 3. 12. 2018 v 16:49 odesílatel Andrew Gierth <andrew@tao11.riddles.org.uk> napsal:
>>>>> "didier" == didier  <did447@gmail.com> writes:

 didier> Attached a POC adding a new variable ECHO_ERROR
 didier> \set ECHO_ERROR text|none|psqlstate

I wouldn't have called it that. Possibly another option to the existing
VERBOSITY variable? \set VERBOSITY sqlstate_only or something of that
ilk (it's already not unusual to use \set VERBOSITY terse in regression
tests)

It is good idea to look to this option.

Pavel


--
Andrew (irc:RhodiumToad)

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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: [proposal] Add an option for returning SQLSTATE in psql error message
Следующее
От: didier
Дата:
Сообщение: Re: [proposal] Add an option for returning SQLSTATE in psql error message