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 1wY148-00010f-0j for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jun 2026 12:32:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wY147-0009px-0G for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jun 2026 12:32:51 +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 1wY146-0009pl-2S for pgsql-hackers@lists.postgresql.org; Fri, 12 Jun 2026 12:32:50 +0000 Received: from fhigh-b8-smtp.messagingengine.com ([202.12.124.159]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wY144-000000000y9-1lwy for pgsql-hackers@lists.postgresql.org; Fri, 12 Jun 2026 12:32:50 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 284C67A0075; Fri, 12 Jun 2026 08:32:47 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Fri, 12 Jun 2026 08:32:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm2; t=1781267567; x= 1781353967; bh=Fp0oKSChnGVWleAZgYIdsS8YH1K1zzX8c0UqImLzjTQ=; b=m 5W3Sy+tMecRKBDP4fp0geaSjBI2afZ69nZniCaUm7BQlVcHLA2v/0sXARmH0vPzw 1S74EyoiYTRzpDr7NB29Knm/W4LEKPxEZVP7ZPkK54mf9CEKsRtevxgSw8vzdxn5 m9o6XFxUM1DAINXtP+xjKpWxxmlM3tUat82i2cWtaNToPX++4b66SRS5BifBu+wg UNKdapIC4FpK3h7qoX5ZwTMQtSyT/LtQsQiXtThR9ag+SdNlEYUc9+d10D7VSm1S phQpUESpYlgOAfx9a2M0Xcw0OiTrk10Rmq7WzcUzvsaZAsBb1NSnwllvjZH++wD8 KH6C2sZR459WkvSWJ+2Tw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1781267567; x=1781353967; bh=F p0oKSChnGVWleAZgYIdsS8YH1K1zzX8c0UqImLzjTQ=; b=InG1Mjwf23UDKtPU4 OEYN+biOqTbmT1wu/yleans8D7MVJGwNpbueEPlvGtIdpA2ZffiBKjF3wN2ZmvDc PImDxX8OSqkIBprLyDn2jFC0sZ3tPxbRLmu09yITEuv+Fs9xn26HJQikRZTj7aGp 0jwOMmTdlAfrTql0M+ocnUFzGFhUELhQH0yc5TlhRY0tL+q7K8/1UWPfqSUHo3v8 k4c/k1tPCSyzgKNJnDz2VotjZYOLxUKryFzYm3FpYY87+ETrOPf6dAVpdACZcslg GB9M+Gz+G45fTzYKa49d6JOT7cRMXgiImadIRAVQklL7tJLbU9X8t2IP3EGz1PDe UPUyQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTEAapaNp1lXZTcgFSgW48sFZa/TctJwx15v1waG2Y7WjeXqISHltW3zUJcYJ1ZQ/k V3Vzo13XD9OEXIIMqpXG/aCaaP16MWaGnd70Rhwjt4n2obZY9+S8BaMhWVj/YuAn5Bzyds Ep148Y2xrk7PRtExQQZKDGNZ6YCb7FzAo5twsDpPFqgkyL9Y15xMkikYZ1XmG7JBbMmq4v I1smu4Elp1kEBoRDDGPl3TLb022Wmjj6IHZoNMCwtw7yf3jcyaKcpp6aIZHMh4P5jv6cHe 4yEU/oxlwSqpQF3OOa+cth6Nl87ElqX5ovxI5ll6e8fQ7pgzBC91LjYPn7Ou0PC5CDyOnB wRJZXjxTbF6RsKE00OGft2Oy7lB51f5M2NbPofK0v/30UCUpQmXVYcipWvONMotnHqPW0a C8Mk+vCZAEBhzfiqzQmx8vZNgQ7H8zyFSufJyXNkqd1jgoAGOM3S9nJWWKFhORfP9CjudP Zc6GPSixRS/6RfFrfZB76b41GCVY7om9TQH8qitM9g4iC4FJnuF/gIMwtcFgPG7rSuADNU DDE/2/DLfy6jBY9nYJ7S8eprIOOInXvAyJfTXhUlVTlNhXcCIVT7GjgLvA0NdsrdOFMdlZ ht6ctMGJTiPFvFQ2lGJGwWYodv54vFkrsfjDnO+diSx25ZmstAsVpF2K9c8A X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 12 Jun 2026 08:32:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1781267565; bh=R/ulBnkZVL4xxM1rV+BTlDn0pYa7mgvLJKa/+zq6nbU=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=ic1KO+8Bp2ISnKsDzuHeSLOs/YysCSU+bcrHKt6tiKgb5IhlkAuDH5L9Ru9LRhJ2F 1lxY50AOE89poI4ps1L2DPBpQ7blhtZp8ghRZVd+BpF7sy5vmoWh2Cs/pQj21zOLF4 hWfJdGwZa/uViuJbXv3E+fIzci/PD8R2Tgo6u8FCQ8ZVyeo/kme1kEuMg6Qns2Sc8P PMdpwb9p0IvlZO4C0JJMUHTAYp93QFcpBhTZvk7bIDPvbOkaEIrT5iDQxFY8oGF9mF cHkovOZ6nI1voaDzB60y5LQTBkyyZSn6wvEUrGD1V2PpurR7ZjilXB6zVN+D6n+bVz VH0340fhZaClw== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id 0AF1EB0067D; Fri, 12 Jun 2026 14:32:45 +0200 (CEST) Date: Fri, 12 Jun 2026 14:32:45 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Peter Smith Cc: Nisha Moond , Jim Jones , PostgreSQL Hackers Subject: Re: PSQL - prevent describe listing tables that are already in listed schemas Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-May-21, Peter Smith wrote: > I think Nisha was correct about adding a PG15 version check. It was an > accidental omission in my first patch. Even if PG14 is EOL-ed by the > time this change is released, it is trivial to keep the psql \dRp+ > command behaving as-is rather than crashing due to an internal SQL > error. So, I prefer to err on the side of caution and add the version > check for now; a committer can remove it if they deem it unnecessary. They shouldn't; the Notes subsection in the psql reference page says psql works best with servers of the same or an older major version. Backslash commands are particularly likely to fail if the server is of a newer version than psql itself. However, backslash commands of the \d family should work with servers of versions back to 9.2, though not necessarily with servers newer than psql itself. The general functionality of running SQL commands and displaying query results should also work with servers of a newer major version, but this cannot be guaranteed in all cases. so the version check is definitely needed. Thanks -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "In fact, the basic problem with Perl 5's subroutines is that they're not crufty enough, so the cruft leaks out into user-defined code instead, by the Conservation of Cruft Principle." (Larry Wall, Apocalypse 6)