From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Tab completion for SET TimeZone
Date: Wed, 16 Mar 2022 09:40:49 -0400
Message-ID: <514658.1647438049@sss.pgh.pa.us> (raw)
In-Reply-To: <87h77yrpsu.fsf@wibble.ilmari.org>
References: <87k0curq0w.fsf@wibble.ilmari.org>
<87h77yrpsu.fsf@wibble.ilmari.org>
=?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= <ilmari@ilmari.org> writes:
> I just noticed I left out the = in the match check, here's an updated
> patch that fixes that.
Hmm .... is that actually going to be useful in that form?
Most time zone names contain slashes and will therefore require
single-quoting. I think you might need pushups comparable to
COMPLETE_WITH_ENUM_VALUE.
Also, personally, I'd rather not smash the names to lower case.
I think that's a significant decrement of readability.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, ilmari@ilmari.org
Subject: Re: Tab completion for SET TimeZone
In-Reply-To: <514658.1647438049@sss.pgh.pa.us>
References: <87k0curq0w.fsf@wibble.ilmari.org> <87h77yrpsu.fsf@wibble.ilmari.org> <514658.1647438049@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox