Re: Tab completion for SET TimeZone
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2022-03-21T00:05:43Z
Lists: pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes: > After thinking a bit harder, I realized that the SchemaQuery > infrastructure has no way to deal with the case of the input text not > being a prefix of what we want the output to be, so it can't do something > comparable to Query_for_list_of_timezone_names_quoted_out. Maybe someday > we'll feel like adding that, but COMPLETE_WITH_ENUM_VALUE isn't a > compelling enough reason in current usage. So I just tweaked the comment > a bit. Fair enough. > Pushed that way. Thanks! > regards, tom lane - ilmari
Commits
-
psql: handle tab completion of timezone names after "SET TIMEZONE TO".
- 7fa3db367986 15.0 landed