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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix documentation of psql's ECHO all mode.
Дата
Msg-id E1YHhZx-0004vH-Of@gemulon.postgresql.org
обсуждение исходный текст
Список 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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/02d0937f6467604e52833555fd35c5900936021d

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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix documentation of psql's ECHO all mode.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix documentation of psql's ECHO all mode.