mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
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.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user