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 1o80ce-00035l-8e for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Jul 2022 14:30:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o80bc-0006dv-S4 for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Jul 2022 14:29:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o80bc-0006bu-JG for pgsql-hackers@lists.postgresql.org; Sun, 03 Jul 2022 14:29:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o80bV-0001nZ-Mo for pgsql-hackers@lists.postgresql.org; Sun, 03 Jul 2022 14:29:44 +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 263ETcgQ1212508; Sun, 3 Jul 2022 10:29:38 -0400 From: Tom Lane To: Noah Misch cc: Jeff Janes , PostgreSQL Hackers Subject: Re: 15beta1 tab completion of extension versions In-reply-to: <20220703083217.GB2476530@rfd.leadboat.com> References: <1803867.1655596168@sss.pgh.pa.us> <1930937.1655614573@sss.pgh.pa.us> <20220703083217.GB2476530@rfd.leadboat.com> Comments: In-reply-to Noah Misch message dated "Sun, 03 Jul 2022 01:32:17 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1212506.1656858578.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 03 Jul 2022 10:29:38 -0400 Message-ID: <1212507.1656858578@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Noah Misch writes: > I think it makes sense to send UPDATE TO as a single completion in place= s > where no valid command can have the UPDATE without the TO. CREATE RULE = foo AS > ON UPDATE TO is a candidate, though CREATE RULE completion doesn't do th= at > today. "ALTER EXTENSION hstore UPDATE;" is a valid command (updates to = the > control file default version). Hence, I think the v14 behavior was bett= er. Hmm ... good point, let me think about that. regards, tom lane