Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wfPjB-005R7V-0p for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jul 2026 22:17:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wfPjA-003aEz-0Z for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jul 2026 22:17:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wfPj9-003aEr-2s for pgsql-hackers@lists.postgresql.org; Thu, 02 Jul 2026 22:17:47 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wfPj7-00000001PAF-2T9f for pgsql-hackers@postgresql.org; Thu, 02 Jul 2026 22:17:47 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 662MHcHl3790466; Thu, 2 Jul 2026 18:17:38 -0400 From: Tom Lane To: Nathan Bossart cc: pgsql-hackers@postgresql.org Subject: Re: remove VersionedQuery support from psql tab completion In-reply-to: References: Comments: In-reply-to Nathan Bossart message dated "Thu, 02 Jul 2026 13:51:26 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3790464.1783030658.1@sss.pgh.pa.us> Date: Thu, 02 Jul 2026 18:17:38 -0400 Message-ID: <3790465.1783030658@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Nathan Bossart writes: > This infrastructure was added by commit 722408bcd1 and was only ever used > for publications and subscriptions. Since we just bumped psql's minimum > supported version to v10, it's no longer used by anything. Furthermore, a > quick glance indicates there's nothing else that should use it. So, IMHO > we might as well remove it. This seems a little short-sighted. Do you think we'll never again make any catalog changes that affect tab completion? Admittedly, maybe all such cases will fall under what SchemaQuery is good for. But that's significantly harder to use, so I'm not really in a hurry to make that tradeoff. regards, tom lane