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.94.2) (envelope-from ) id 1tIWIB-00EqrV-F4 for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Dec 2024 17:02:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tIWI7-00BNHe-IJ for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Dec 2024 17:02:28 +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.94.2) (envelope-from ) id 1tIWI7-00BNHW-9G for pgsql-bugs@lists.postgresql.org; Tue, 03 Dec 2024 17:02:28 +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.94.2) (envelope-from ) id 1tIWI5-000rTd-0W for pgsql-bugs@lists.postgresql.org; Tue, 03 Dec 2024 17:02:27 +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 4B3H2HIm1827882; Tue, 3 Dec 2024 12:02:18 -0500 From: Tom Lane To: zengman@halodbtech.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18731: The psql \d command does not exactly match but can be executed In-reply-to: <18731-1d54c3fe1171a9d5@postgresql.org> References: <18731-1d54c3fe1171a9d5@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Tue, 03 Dec 2024 09:49:44 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1827880.1733245337.1@sss.pgh.pa.us> Date: Tue, 03 Dec 2024 12:02:17 -0500 Message-ID: <1827881.1733245337@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > I accidentally found that the \d command in psql does not match exactly, but > it can be executed. Just like the demo below. Yeah, this is true for the entire \d family: trailing garbage in the command name doesn't really matter. I'm not excited about trying to tighten that up; we'd likely get more complaints than kudos. regards, tom lane