diff options
author | Fujii Masao | 2020-09-28 02:23:15 +0000 |
---|---|---|
committer | Fujii Masao | 2020-09-28 02:23:15 +0000 |
commit | 0baf82fa0cbe98fe317483f1e1c6612fc41e1dad (patch) | |
tree | d495639ddcb1c2ae3075c2b93f292abda1ce9836 /src | |
parent | cc99baa43e0ed83ac18fcbde31f2ab7274eb26cf (diff) |
Improve tab-completion for DEALLOCATE.
Author: Naoki Nakamichi
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/ec1a45b06edfce13706f2c765778d8c2@oss.nttdata.com
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/tab-complete.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 9c6f5ecb6a8..24c7b414cf3 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -2911,7 +2911,8 @@ psql_completion(const char *text, int start, int end) /* DEALLOCATE */ else if (Matches("DEALLOCATE")) - COMPLETE_WITH_QUERY(Query_for_list_of_prepared_statements); + COMPLETE_WITH_QUERY(Query_for_list_of_prepared_statements + " UNION SELECT 'ALL'"); /* DECLARE */ else if (Matches("DECLARE", MatchAny)) |