mirror of
https://github.com/postgres/postgres.git
synced 2025-06-10 09:21:54 +03:00
psql: Tab completion for LATERAL joins
When listing selectable objects after a JOIN, offer also LATERAL. Author: Andreas Karlsson Reviewed-By: Tomas Vondra Discussion: https://postgr.es/m/3a7e27bc-d6ed-4cb0-9b21-f21143fc1b37@proxel.se
This commit is contained in:
@ -5166,7 +5166,7 @@ match_previous_words(int pattern_id,
|
||||
|
||||
/* ... JOIN ... */
|
||||
else if (TailMatches("JOIN"))
|
||||
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_selectables);
|
||||
COMPLETE_WITH_SCHEMA_QUERY_PLUS(Query_for_list_of_selectables, "LATERAL");
|
||||
|
||||
/* ... AT [ LOCAL | TIME ZONE ] ... */
|
||||
else if (TailMatches("AT"))
|
||||
|
Reference in New Issue
Block a user