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-18T10:17:00Z
Lists: pgsql-hackers
Attachments
- v4-0001-Add-tab-completion-for-SET-TimeZone-TO.patch (text/x-diff)
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> writes: > Tom Lane <tgl@sss.pgh.pa.us> writes: > >> Also, personally, I'd rather not smash the names to lower case. >> I think that's a significant decrement of readability. > > That was mainly for convenience of not having to capitalise the place > names when typing (since they are accepted case insensitively). A > compromise would be to lower-case it in the WHERE, but not in the > SELECT, as in the attached v3 patch. I just realised there's no point in the subselect when I'm not applying the same function in the WHERE and the SELECT, so here's an updated version that simplifies that. It also fixes a typo in the commit message. - ilmari
Commits
-
psql: handle tab completion of timezone names after "SET TIMEZONE TO".
- 7fa3db367986 15.0 landed