projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc99baa
)
Improve tab-completion for DEALLOCATE.
author
Fujii Masao
<
[email protected]
>
Mon, 28 Sep 2020 02:23:15 +0000
(11:23 +0900)
committer
Fujii Masao
<
[email protected]
>
Mon, 28 Sep 2020 02:23:15 +0000
(11:23 +0900)
Author: Naoki Nakamichi
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/
ec1a45b06edfce13706f2c765778d8c2
@oss.nttdata.com
src/bin/psql/tab-complete.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/tab-complete.c
b/src/bin/psql/tab-complete.c
index 9c6f5ecb6a8c78d2a8ceaa82b6efa79dceafe9c0..24c7b414cf3a568adbb01f6bd17f0c8da3d69f28 100644
(file)
--- 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))