mirror of
https://github.com/postgres/postgres.git
synced 2026-07-06 16:25:55 -04:00
psql: Fix \df tab completion for procedures
Commit fb421231da extended \df to include procedures, but its tab
completion continued not to show procedures.
Update \df tab completion to include procedures as well.
Backpatch to all supported versions.
Author: Erik Wienhold <ewie@ewie.name>
Reviewed-by: Surya Poondla <suryapoondla4@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/10fbfdfe-80f6-4ef9-b8b3-f7be0eb53a50@ewie.name
Backpatch-through: 14
This commit is contained in:
parent
a5422fe3bd
commit
6d4ca6de97
1 changed files with 1 additions and 1 deletions
|
|
@ -5655,7 +5655,7 @@ match_previous_words(int pattern_id,
|
|||
else if (TailMatchesCS("\\dew*"))
|
||||
COMPLETE_WITH_QUERY(Query_for_list_of_fdws);
|
||||
else if (TailMatchesCS("\\df*"))
|
||||
COMPLETE_WITH_VERSIONED_SCHEMA_QUERY(Query_for_list_of_functions);
|
||||
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_routines);
|
||||
else if (HeadMatchesCS("\\df*"))
|
||||
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_datatypes);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue