Skip to content

Commit 0baf82f

Browse files
committed
Improve tab-completion for DEALLOCATE.
Author: Naoki Nakamichi Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/ec1a45b06edfce13706f2c765778d8c2@oss.nttdata.com
1 parent cc99baa commit 0baf82f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/psql/tab-complete.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2911,7 +2911,8 @@ psql_completion(const char *text, int start, int end)
29112911

29122912
/* DEALLOCATE */
29132913
else if (Matches("DEALLOCATE"))
2914-
COMPLETE_WITH_QUERY(Query_for_list_of_prepared_statements);
2914+
COMPLETE_WITH_QUERY(Query_for_list_of_prepared_statements
2915+
" UNION SELECT 'ALL'");
29152916

29162917
/* DECLARE */
29172918
else if (Matches("DECLARE", MatchAny))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy