From d90ced8bb22194cbb45f58beb0961251103aeff5 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 3 Oct 2013 16:17:18 -0400 Subject: Add DISCARD SEQUENCES command. DISCARD ALL will now discard cached sequence information, as well. Fabrízio de Royes Mello, reviewed by Zoltán Böszörményi, with some further tweaks by me. --- src/bin/psql/tab-complete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin') diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index b3de387b941..255061c1c41 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -2378,7 +2378,7 @@ psql_completion(char *text, int start, int end) else if (pg_strcasecmp(prev_wd, "DISCARD") == 0) { static const char *const list_DISCARD[] = - {"ALL", "PLANS", "TEMP", NULL}; + {"ALL", "PLANS", "SEQUENCES", "TEMP", NULL}; COMPLETE_WITH_LIST(list_DISCARD); } -- cgit v1.2.3