pgsql: Improve behavior of \watch with non-tuple-returning commands.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve behavior of \watch with non-tuple-returning commands.
Дата
Msg-id E1UYjGq-0001MY-F9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve behavior of \watch with non-tuple-returning commands.

Print the command tag if we get PGRES_COMMAND_OK, and throw an error for
other cases.  Per gripe from Michael Paquier.

In passing, add an fflush(), just to be real sure the output appears
before we sleep.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/626e6eda4f605788110bfc5fa95760305f7eb749

Modified Files
--------------
src/bin/psql/command.c |   19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: docs: Improve log_line_prefix session_id query
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Translation updates