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 1nW5YY-0000ux-Ig for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Mar 2022 00:05:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nW5YW-0003bY-Ok for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Mar 2022 00:05:52 +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 1nW5YV-0003bO-E7 for pgsql-hackers@lists.postgresql.org; Mon, 21 Mar 2022 00:05:52 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nW5YS-0000Sq-Hc for pgsql-hackers@lists.postgresql.org; Mon, 21 Mar 2022 00:05:51 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E02985C00FF; Sun, 20 Mar 2022 20:05:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 20 Mar 2022 20:05:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=TCH+MH6IpshawwupQ4nGNR2vTzQxs793XRel4N Gb/Jg=; b=JvaG2g2rB68a0u+l1+2B4WaPVieuWgRm818P0Qtoyn4jDAdLb6uReJ ow20cnHIt/XcNeq76Jf4qnruEwLkMLZrDfZL1H1DmAB+Q+HAmf2q4rwzcSBWJ9tb 2OcnAScwp/x1o/daskUlVucB+kkVN8ZYTQNmgsAMjO4dE5m7+9grfCeT9bp72Zg7 sPr38ethANHXKgtqpWCClOzUDGtyaud7tIkThm2IYXZJR33KZNLxE44qPOz9eqzg /VL4MNIvf3p7gXlPfXpRvphz9hGAEpb1fH8dmkG14wbg0RZ93Y8/1h6F0x96SVTd SCaane9bNJkKNc2ZO2pCxYPq+/klCVCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=TCH+MH6IpshawwupQ 4nGNR2vTzQxs793XRel4NGb/Jg=; b=FUNGFU3DrVYenJEXa0uWpU6Fn7lQ6WCTp 9oOzdqj/mRJRfvVLM41H3oRGhBXqNeC8XAFfvg7T0e+axBdHdPBR29TKPsHB4n81 TwyA+xnb4PonPm6uwttdwphYcdo7QSyy1Z5rw94NBvWLzYWEwc1RvFfqNWAE3743 DfGA4YTiSW9X0kdA503vJVnzpYLvGLEJMEnkA32NF711XwknUjyD4nwaZyUUv+Ad hDSlVfqkxdDF+TyGDet89JkH9uIffnLIovblqxGZeJuEwZ9PNLUCCy05U5q3InWs v242Ovfa6PY1K6CLaTLta3TwP7NqYp4Coa+2V05gKU1v/2TtsawVg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudegvddgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgesthdtre dttderjeenucfhrhhomhepffgrghhfihhnnhgpkfhlmhgrrhhipgforghnnhhsnohkvghr uceoihhlmhgrrhhisehilhhmrghrihdrohhrgheqnecuggftrfgrthhtvghrnhepveevke dvfeefuedtffffleevhfdvtefghfejgffhteevueejhfehleeifedtgeehnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhlmhgrrhhisehilh hmrghrihdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Mar 2022 20:05:44 -0400 (EDT) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Tom Lane Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Tab completion for SET TimeZone References: <87k0curq0w.fsf@wibble.ilmari.org> <87h77yrpsu.fsf@wibble.ilmari.org> <514658.1647438049@sss.pgh.pa.us> <87czikrtc1.fsf@wibble.ilmari.org> <87a6dnsgyr.fsf@wibble.ilmari.org> <1157472.1647629584@sss.pgh.pa.us> <877d8os8wh.fsf@wibble.ilmari.org> <1576631.1647807063@sss.pgh.pa.us> Date: Mon, 21 Mar 2022 00:05:43 +0000 In-Reply-To: <1576631.1647807063@sss.pgh.pa.us> (Tom Lane's message of "Sun, 20 Mar 2022 16:11:03 -0400") Message-ID: <874k3srwyw.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tom Lane 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