Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nUTta-0008NE-F2 for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Mar 2022 13:40:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nUTtZ-00032L-3Z for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Mar 2022 13:40:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nUTtY-00032A-Qf for pgsql-hackers@lists.postgresql.org; Wed, 16 Mar 2022 13:40:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nUTtW-0001OJ-8v for pgsql-hackers@lists.postgresql.org; Wed, 16 Mar 2022 13:40:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 22GDenBE514659; Wed, 16 Mar 2022 09:40:49 -0400 From: Tom Lane To: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= cc: pgsql-hackers@lists.postgresql.org Subject: Re: Tab completion for SET TimeZone In-reply-to: <87h77yrpsu.fsf@wibble.ilmari.org> References: <87k0curq0w.fsf@wibble.ilmari.org> <87h77yrpsu.fsf@wibble.ilmari.org> Comments: In-reply-to =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= message dated "Wed, 16 Mar 2022 13:26:57 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <514657.1647438049.1@sss.pgh.pa.us> Date: Wed, 16 Mar 2022 09:40:49 -0400 Message-ID: <514658.1647438049@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= 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