Tab completion for SET TimeZone

From: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Tab completion for SET TimeZone
Date: 2022-03-16 13:22:07
Message-ID: 87k0curq0w.fsf@wibble.ilmari.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

I noticed there was no tab completion for time zones in psql, so here's
a patch that implements that. I chose lower-casing the names since they
are case insensitive, and verbatim since ones without slashes can be
entered without quotes, and (at least my version of) readline completes
them correctly if the entered value starts with a single quote.

- ilmari

Attachment Content-Type Size
0001-Add-tab-completion-for-SET-TimeZone-TO.patch text/x-diff 1.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dagfinn Ilmari Mannsåker 2022-03-16 13:26:57 Re: Tab completion for SET TimeZone
Previous Message Aleksander Alekseev 2022-03-16 12:47:15 Re: ExecTypeSetColNames is fundamentally broken