From c6a3fce7dd4dae6e1a005e5b09cdd7c1d7f9c4f4 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 4 Apr 2013 19:56:33 -0400 Subject: Add \watch [SEC] command to psql. This allows convenient re-execution of commands. Will Leinweber, reviewed by Peter Eisentraut, Daniel Farina, and Tom Lane --- src/bin/psql/tab-complete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/psql/tab-complete.c') diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index d2170308f7c..7d2c8126126 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -900,7 +900,7 @@ psql_completion(char *text, int start, int end) "\\lo_import", "\\lo_export", "\\lo_list", "\\lo_unlink", "\\o", "\\p", "\\password", "\\prompt", "\\pset", "\\q", "\\qecho", "\\r", "\\set", "\\sf", "\\t", "\\T", - "\\timing", "\\unset", "\\x", "\\w", "\\z", "\\!", NULL + "\\timing", "\\unset", "\\x", "\\w", "\\watch", "\\z", "\\!", NULL }; (void) end; /* not used */ -- cgit v1.2.3