Thread: pgsql: Add \watch [SEC] command to psql.

pgsql: Add \watch [SEC] command to psql.

From
Tom Lane
Date:
Add \watch [SEC] command to psql.

This allows convenient re-execution of commands.

Will Leinweber, reviewed by Peter Eisentraut, Daniel Farina, and Tom Lane

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c6a3fce7dd4dae6e1a005e5b09cdd7c1d7f9c4f4

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |   12 ++++
src/bin/psql/command.c         |  130 ++++++++++++++++++++++++++++++++++++++++
src/bin/psql/help.c            |    3 +-
src/bin/psql/tab-complete.c    |    2 +-
4 files changed, 145 insertions(+), 2 deletions(-)