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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [proposal] Add an option for returning SQLSTATE in psql error message
Дата
Msg-id 31422.1543855909@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [proposal] Add an option for returning SQLSTATE in psql error message  (didier <did447@gmail.com>)
Ответы Re: [proposal] Add an option for returning SQLSTATE in psql error message  (didier <did447@gmail.com>)
Список pgsql-hackers
didier <did447@gmail.com> writes:
> Yep, name is bad, but I'm not sure about VERBOSITY, isn't it
> controlling output from the server not the client?

No, it's in libpq, so you'd have to touch that not the server.

I agree with Andrew's thought, and would further say that just
"\set VERBOSITY sqlstate" would be a reasonable API.  Making this
separate from VERBOSITY is weird.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: doc - improve description of default privileges
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] CLUSTER command progress monitor