| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
| Cc: | did447(at)gmail(dot)com, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: [proposal] Add an option for returning SQLSTATE in psql error message |
| Date: | 2018-12-03 16:12:26 |
| Message-ID: | CAFj8pRAK80pU_eKO91r9QipfA4TPtmr7Jsyq-AxzQzGythhsFw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
po 3. 12. 2018 v 16:49 odesílatel Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
napsal:
> >>>>> "didier" == didier <did447(at)gmail(dot)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)
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | didier | 2018-12-03 16:21:38 | Re: [proposal] Add an option for returning SQLSTATE in psql error message |
| Previous Message | Andrew Gierth | 2018-12-03 15:49:42 | Re: [proposal] Add an option for returning SQLSTATE in psql error message |