mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Improve tab-completion for DEALLOCATE.
Author: Naoki Nakamichi Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/ec1a45b06edfce13706f2c765778d8c2@oss.nttdata.com
This commit is contained in:
@ -2911,7 +2911,8 @@ psql_completion(const char *text, int start, int end)
|
|||||||
|
|
||||||
/* DEALLOCATE */
|
/* DEALLOCATE */
|
||||||
else if (Matches("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 */
|
/* DECLARE */
|
||||||
else if (Matches("DECLARE", MatchAny))
|
else if (Matches("DECLARE", MatchAny))
|
||||||
|
Reference in New Issue
Block a user