|From:||"Daniel Verite" <daniel(at)manitou-mail(dot)org>|
|To:||"Pavlo Golub" <pavlo(dot)golub(at)cybertec(dot)at>|
|Cc:||"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,pgsql-bugs(at)lists(dot)postgresql(dot)org|
|Subject:||Re: BUG #16034: `\set ECHO all` doesn't work for \e command|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
Pavlo Golub wrote:
> > \set ECHO queries
> > would display them including immediately after \e in an interactive
> > session.
> Oh, great! That works! Thanks! But why ECHO all doesn't? Should all
> include queries by default?
As I understand, "ECHO all" does nothing when the commands are
read interactively. So in that mode it's the same as "ECHO none",
and it doesn't seem very useful indeed.
It appears to be an ancient decision, since it was already
described in the 7.1 docs pretty much like it is today:
Maybe I'm missing the use case of neutralizing "ECHO all"
interactively, but otherwise I agree it would be more intuitive
and useful if it did the same thing in interactive and non-interactive
PostgreSQL-powered mailer: http://www.manitou-mail.org
|Next Message||Tom Lane||2019-10-03 19:59:57||Re: BUG #16034: `\set ECHO all` doesn't work for \e command|
|Previous Message||张舒燕||2019-10-03 15:33:32||Write skew anmalies are found in SERIALIZABLE isolation|