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 1wEgoj-004IPU-2I for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Apr 2026 05:05:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wEgoi-000cCr-1k for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Apr 2026 05:05:04 +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 1wEgoi-000cCi-0n for pgsql-hackers@lists.postgresql.org; Mon, 20 Apr 2026 05:05:04 +0000 Received: from mail-yw1-x112c.google.com ([2607:f8b0:4864:20::112c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wEgog-000000024ts-0cAi for pgsql-hackers@lists.postgresql.org; Mon, 20 Apr 2026 05:05:03 +0000 Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-79a46ebe2beso24092427b3.2 for ; Sun, 19 Apr 2026 22:05:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776661500; cv=none; d=google.com; s=arc-20240605; b=Acs+7JrXq3cKPhEJLZkJabty9qiFjSxir7X0zc3NFPZkwpCd1SPLcDMn1SvCAXkA9M 9OTUloVZfsQt6T/dxgiKagw57MMrb3CesQiw03Wjh+OhFyO/pqGrI6YLjYXzgjT74joO t//Q3YEd2QMKMg7lzjKx2i1bLNKMBJoiXk14M4QWZG4o3G7YOwQrAc9HbYX5j9077tPG ASHviiXhSavXbhlg+T1PskHZgkObq55KH8h3sYPkEnRu3+ldoKmXBEaMazwtkMXJVDba TivvvlSLxQbAU5HGDBzL1N245lvz+Hpw+JT7T8FD3Anz6Lkdg3a0t0E/eyfauGI5CtXl ILOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zilTffLofJ8ciQTk+iM5ix8XQdbWQwoO/WpcxLEvWho=; fh=B63UR/3ifrJCiFxsKFENkThR06AQHvhpdqYBAk2+OC0=; b=Ox+sfXV3Qo7v4/Kuln+/XVi5UhGLuXR/bviHnmtHlJTd8OjW+6Ez5ap0SHks4K75d5 Fu69dHKKW8AYGETderbQMaRRBjIMy0U4Yz8t75cyHSjtEMrF+dT6h4Ehj+Ui1UVjALOr oi93iZlK1jKd5Neyllk9Df27uPJy+o1HPXe9d7m3rT1Sp8kEx00sweUeFDln6hS2fqOy UpASDOdGtOxsGNlNboKQuqrFeBQXTEDpWGnVLIwL2Q8Gvl4efLT3f1j3LegdBEQRK2GY VnzhWLgGLZXz6+9paRjfkXrWqTCVdESQikEQP6AK1fwd29NifYmdn8fHmeP1iFfDclW9 y4dg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776661500; x=1777266300; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zilTffLofJ8ciQTk+iM5ix8XQdbWQwoO/WpcxLEvWho=; b=hJM0pvSIPHQOg0rC+Zu97BjlxtwSfzklJkbB6TW9LJ337mMRgdJZpUDfXZHVGDc+lo mpScKRQPc3c/z7Sa0+JoJRTfz8mISHTc3yCG7qSSAtC0QL+G04BdgCur8ISLGIS99Tvb tcIuy0SlzY5GC2XyTmCVPpIOsdKwdUJWzV+H5kJ3S0LqpTcINJky49ujDTQIQPC1mWHn N24MT/EMH73TAvv3Th4fVsHDpAoiVwJDLUtLYPt/cUzQGXaYDHHx8PL2y4A0amFyKVJ/ SHRtxUkvGCwFWvgiuSynKEw7dZREum1NZqWGn1GZSVa5Xb4yjlWPX2h6tVWcvTCYYV3p EI1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776661500; x=1777266300; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=zilTffLofJ8ciQTk+iM5ix8XQdbWQwoO/WpcxLEvWho=; b=P0Dfx33OA4hBh95lhNchCLzAo4ZK7yAMNYPsn5BsrFplum4P2RHAwD91CZRIeW36P9 EjMQCZ85ICGNYUBaSsnXewgrvTX3/v0qviS32srC9xZoMiqisEw0x/8SymIqkyQ/n05Q w6y+vhtMhw4W4is0YxrB4j2y8asFYbIxVfI4BKslTI1RjW9YtoxxmFEL+gVqc+b4GoKj iUTuvD2MKAojV5dVjbonFlEKX0mgqwGOsAQc7bqh4vyCMyMNWK78mBUU4jaQMzg5z1CW JJph9eDZhM+IUUBhCODp8a/41LLIJzT96oHPhvUQJoVbdse2xO0BlLHL8yAJVhBSlhxY 37pw== X-Forwarded-Encrypted: i=1; AFNElJ+Hd5sqjLG2yWtlvoBdTEKxM8O8w4daBdvF8xa11hv5GRIay6EuceyXY/plqVO82/bGsDagZH4vslsmyVbm@lists.postgresql.org X-Gm-Message-State: AOJu0Yy59BJpK1LTKH4RrlpqCbakwN4TUHD5ZDK5GQYC2k/S4P3g8l/K rDo6u0sNRA3jswNXXdyS1h1e1p8o2N30q/8ftS49U+qHK04OIKNNZjNHZyYhnUMoQ1LfsYB8mhZ L9REoQsYmzepZqdI8j3voFp9HMlC1jvM= X-Gm-Gg: AeBDievg3LBGBUD5bvH/t9dOKoDYsjB4uDPWapTrjn7cyPa6W6u5u1kP3kAZVr8TYaN MLZO6QO+BtiX2VJ+sgQHqb+6xFgH6NuNSgCEIR6sj5/zgzXTiIOkddDXj8No/hClQse3Dw7gfhs xqM1D0YgS/VxRdQiXIZ7F+u7ss/13RoxVv1gY+IPWsN69I4zkgGAYKU/o8cyoXT/8t4NukLz7od uxVHns6x2OZ1iCQ/wXtvw7atZJ1qkun9bSAjeVv60RkXKVHlYvqmRwpd1nQ1hVNrHTvctxECRiu V29f6t0BSZNfApVidw== X-Received: by 2002:a05:690c:4432:b0:79a:5508:5831 with SMTP id 00721157ae682-7b9eced99b2mr99309297b3.20.1776661499924; Sun, 19 Apr 2026 22:04:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: vignesh C Date: Mon, 20 Apr 2026 10:34:47 +0530 X-Gm-Features: AQROBzAW4I8cLLsm57SoYGIDEepP2UYpKTKgoYN5rX2VuZ27mYGy_FlYK5PiokE Message-ID: Subject: Re: EXCEPT TABLE - Case inconsistency for describe \d and \dRp+ To: Peter Smith Cc: Amit Kapila , =?UTF-8?Q?=C3=81lvaro_Herrera?= , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 20 Apr 2026 at 08:27, Peter Smith wrote: > > On Fri, Apr 17, 2026 at 3:24=E2=80=AFPM Amit Kapila wrote: > > > > On Fri, Apr 17, 2026 at 4:34=E2=80=AFAM Peter Smith wrote: > > > > > > On Fri, Apr 17, 2026 at 12:10=E2=80=AFAM =C3=81lvaro Herrera wrote: > > > > > > > > On 2026-Apr-10, Peter Smith wrote: > > > > > > > > > # -- describe the tables > > > > > # \d t1 > > > > > Table "public.t1" > > > > > Column | Type | Collation | Nullable | Default > > > > > --------+---------+-----------+----------+--------- > > > > > a | integer | | | > > > > > Except Publications: > > > > > "pub1" > > > > > > > > I have a hard time understanding what an "except publication" is. = I > > > > think this would be clearer if the header said "Excluded from publi= cations:" > > > > > > > > > > I agree that your suggestion is clearer. > > > > > > If we make that change, then should the "Publications:" footer also b= e > > > modified similarly (to "Included in publications:") so they match? > > > > > > e.g. > > > > > > CURRENTLY > > > > > > test_pub=3D# \d t1 > > > Table "public.t1" > > > Column | Type | Collation | Nullable | Default > > > --------+---------+-----------+----------+--------- > > > a | integer | | | > > > Publications: > > > "pub1" > > > "pub2" > > > Except publications: > > > "pub3" > > > > > > ~~~ > > > > > > SUGGESTION > > > > > > test_pub=3D# \d t1 > > > Table "public.t1" > > > Column | Type | Collation | Nullable | Default > > > --------+---------+-----------+----------+--------- > > > a | integer | | | > > > Included in publications: > > > "pub1" > > > "pub2" > > > Excluded from publications: > > > "pub3" > > > > > > ~~~ > > > > > > > +1 for the proposal. It makes the description clear. > > > > PSA v3 patches. > > v3-0001 - Fixed the TABLE describe footer titles as suggested. > - "Included in publications:" > - "Excluded from publications:" > > v3-0002 - Made similar footer title changes for SEQUENCE describe > > v3-0003 - Made similar footer title changes for SHCEMA describe. In > passing, I found that this \dn describe output was not even being > tested, so I added the missing regression test. I'm not sure separate patches are necessary for this change; it might be better to merge them into a single patch. Other than that, the changes look good. Regards, Vignesh