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 1wgk53-006Mso-22 for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jul 2026 14:13:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wgk52-0013xY-1M for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jul 2026 14:13:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wgk4E-00106d-2c for pgsql-hackers@lists.postgresql.org; Mon, 06 Jul 2026 14:13:02 +0000 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wgk4D-00000001rBX-0nqr for pgsql-hackers@postgresql.org; Mon, 06 Jul 2026 14:13:01 +0000 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-44cd990a94dso2006110fac.1 for ; Mon, 06 Jul 2026 07:13:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783347180; x=1783951980; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=3vnEwqxami2rxo1oj+J+RYtsgwVb30wQRGRfha3P08w=; b=DOsU8UTydsvr/AcOIkS81d0IA2yJda/BGhuLut3yTwPOqPd9qhR5BNuYk/WSDefFgy T5Vd1ZQCNm9s+0Q9yWLtt4DEYU2M/Bg0TIbNdXdI4RRuH+M696gENkvUFOPTmTTgKTYN Bih6vvobinKHrNw4KpzOHZCJWmP4jrtA58klXi3x7uQcIBkPobpeQg+TfrlZb2p8PcXR mj4t91PjrEqUL7bnVKccREyhfOXRKjAKzLHOXlii1crA9YruHmVmRKAA8OlsezwzIG4x zEPqgpZ+M8QT2NncXrP+SBOnd9HKglq9Z9aK0QoQSvrgYf1l0787kHr8bjEnzVuUhN6Y i2qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783347180; x=1783951980; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3vnEwqxami2rxo1oj+J+RYtsgwVb30wQRGRfha3P08w=; b=N9GrpNEmsdvXPlDphF22ggOIuqErm9QaEfZ7AhWbMM1Mq9JG8uyATS+hUhC/Qv14FV VGSjYqcCQZoU/Rr291Q1pAbQ2zMaCNa2C2WeSNmmqVunAMkATYApJXwRXWqGtGERsBMr NrW7zDdAVlGQK0zlyvcRF2l9aWbbLOcRZsLFNsLf5Opqt4eHMSPG7ciQKkAwY6AC5kb1 NweKBidXujN9BbLjDHExuIqIoR7BFMAp1q+oUIc8AM3YdWa2fOlt8j/CeU2z2PuzVhot eC/QhRgavjLvQ+xphLmbgSfA5dvqdjf+VMpI+V1joyaXKFi/Wr52QZoOeLUJ8c5DiDnq wPwA== X-Gm-Message-State: AOJu0YzVmJn8KTvTVINM52GYfo5SOzjsk95KLfWPQjyzJm1kte0RD+BF o5clds3qFPweceyTJNiMd8zCFm3J5F7xAPPWcAqUFNQQCgg49ybULSnBBmZ/WQ== X-Gm-Gg: AfdE7ck1qxpmPKtzMqkN8a/w89SVYJ2gFql9jefK6HJ8irCW513zCfj/fyUnF+gb1Om geixDJ2PsX9N/xG8lHxGF2pl0UCSR3NUGq3wBUFCtN2UPdFKiODhxpfzSjKCZdGfeB2XHaPntyq 1hu23zT9SEMZEtzpEK5lZgQb/Pjmvnq4FtJu7vvRMadYwFN6Gpjl24BZit0GTMFp5wzl+ZGRnfe lsdax34sMQxytX5i3D0hAOwBO2crg4op2PaE0eH3Ft19pGUCxpiBUPUqZ5TFHyJd9PjjXD+zxiW WIvouXZOtkYKb3myWRmoI7SvtDDSNuSXZP0OUN59OYnB0RoRmJGOqaxIxgtFe106XK4YJZY/e/T 0w5HSGQ06cm9kUAbC1rkO/AKM1z9TvtQg6qdzvQ7RaaLX7NjCNvcF815DLJ+FsvWOimjilZgUCX ZwFRUqPIWJwIXQuSlA851SR3CWWz/kWhuj4rfsI95Xni4lTsVBzJNoIH/QIya6rHy6AodiUu0Ep PMLJU5LAMk= X-Received: by 2002:a05:6870:e121:b0:447:8daa:fc6d with SMTP id 586e51a60fabf-45106588057mr402028fac.33.1783347180310; Mon, 06 Jul 2026 07:13:00 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-44cfb54f775sm10647155fac.10.2026.07.06.07.12.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2026 07:12:59 -0700 (PDT) Date: Mon, 6 Jul 2026 09:12:58 -0500 From: Nathan Bossart To: Tom Lane Cc: pgsql-hackers@postgresql.org Subject: Re: remove VersionedQuery support from psql tab completion Message-ID: References: <3790465.1783030658@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3790465.1783030658@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jul 02, 2026 at 06:17:38PM -0400, Tom Lane wrote: > 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. That's what I thought at first, but given we didn't accumulate any other uses in the ~8 years it was around, I think there's a reasonably good chance it goes unused for quite a while longer. This was just a small bit of cleanup; I'm fine with leaving it around if you want. -- nathan