pgsql: Fix documentation of psql's ECHO all mode.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix documentation of psql's ECHO all mode.
Date: 2015-01-31 23:35:53
Message-ID: E1YHhZx-0004vP-PS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix documentation of psql's ECHO all mode.

"ECHO all" is ignored for interactive input, and has been for a very long
time, though possibly not for as long as the documentation has claimed the
opposite. Fix that, and also note that empty lines aren't echoed, which
while dubious is another longstanding behavior (it's embedded in our
regression test files for one thing). Per bug #12721 from Hans Ginzel.

In HEAD, also improve the code comments in this area, and suppress an
unnecessary fflush(stdout) when we're not echoing. That would likely
be safe to back-patch, but I'll not risk it mere hours before a release
wrap.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/03d4655cf137210540eceb341df6526d34770e7f

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-02-01 08:42:40 Re: Re: [COMMITTERS] pgsql: Another attempt at fixing Windows Norwegian locale.
Previous Message Tom Lane 2015-01-31 22:30:39 pgsql: First-draft release notes for 9.4.1 et al.