diff options
| author | Robert Haas <rhaas@postgresql.org> | 2013-10-03 16:17:18 -0400 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2013-10-03 16:23:31 -0400 |
| commit | d90ced8bb22194cbb45f58beb0961251103aeff5 (patch) | |
| tree | 6f11b8ffc02e1eaeb3ba9d80bf5cfbf8f9232c09 /src/bin/psql/tab-complete.c | |
| parent | c64e68fd9f1132fec563fb5de53dc3bcccb5fc3b (diff) | |
| download | postgresql-d90ced8bb22194cbb45f58beb0961251103aeff5.tar.gz | |
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.
Diffstat (limited to 'src/bin/psql/tab-complete.c')
| -rw-r--r-- | src/bin/psql/tab-complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index b3de387b94..255061c1c4 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); } |
