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 1wDeqK-003DIq-1X for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2026 08:46:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wDeqH-0099qn-0v for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2026 08:46:25 +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 1wDeqG-0099qf-30 for pgsql-hackers@lists.postgresql.org; Fri, 17 Apr 2026 08:46:25 +0000 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wDeqE-00000001d0M-2zzs for pgsql-hackers@lists.postgresql.org; Fri, 17 Apr 2026 08:46:24 +0000 Received: by mail-qt1-x830.google.com with SMTP id d75a77b69052e-50d6144877aso5518261cf.3 for ; Fri, 17 Apr 2026 01:46:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776415580; cv=none; d=google.com; s=arc-20240605; b=ZUbeJlxHhfwpUKDD4ibFxhqAcbB/fPCu9KaJsaUahRlI74JDBmsffw+RGZXke/8MM0 X7HURAJpNjWU232V/FKCrJRFmC+rR88mGk1qVai1s0/80skaDXLGW6GCJTbrhnEu/QBY gxbXNproU6TXn7bY2v4hmrXkLHwMIuusKupSX/yFuMbKvg1Aj9kQAHMmtDuF8VX3B//6 wERERRqxEXAf3GmOopBVv6FIHGdmoIW3W6rilYPOJrfTWWz7Hqo4hcVaoBcVDLv+RFcJ QP8OX3KcJKJ3/OpHEEfbQc6wDGp8cU09+6M82SHhrrZXnePnFycw+xK83AuKLTIza9Do jYZw== 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=0g3xhTQQzNyo3UTU7mOGYPerU7I/XAIAQPoLWVftL+A=; fh=wjtl0DEsMIGDKjZVYqwRpPXdxMYzd1T2iqDgnqhpa6I=; b=MJkTVHBJA/OlhS/T2SRlq+vkvrzmyH4vKjy64miamOEBQfx60NGORSjEYYkYtox+/s Ni54xnz4YJB/o5/8++O/IMED9CEGFZTGNSe3cXloJunsgSyytb2Tny77JMnAUYQXncwU m9kJO0grFWDGFy7gWUT/T31aBSmG2gZe5HV7lV42nMsNdFADcjDSv1ECzm0ze0+18+Ea PINujlCwf14EL6yf5Q1CLtVh3YK+/TcGJ3lpTSu291TZWV1N1YX/XrM6BBGNTlkcAgnq cKft9L+38XEz96kMYi6RrM3UoYnjnTI5tUdhPYTQp7EhIQRWANppdMFhKc2HalqzGJLX TBZg==; 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=1776415580; x=1777020380; 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=0g3xhTQQzNyo3UTU7mOGYPerU7I/XAIAQPoLWVftL+A=; b=dTKCAlhNTGaBIxZOCFrhWVy3wO9bzPslyt+nuIbLrcU6HRSKMPBFrkj9bJHznIp/eH U4cUi8gmCYuJuTdcOuM3Xy03kt6gFKUr2O6v/moyfrjbwfqtTVAZjuEkT3U8ZZRVgdGB aJAoJmsxLgs8zUzFgvxxvQ4/M+W5wMvffk7Rdrlm45kgd0B/zhsbh3wja/wEhGDTC4fz A0w/Gv3tpWtEeBxLh6rC2LITz/dmmGRzWYWEgtjmI9oyKBIzh0sNxiJDCs1eHTqMT2ri azYDlmqv1s1gVaD/K7zCfE5JJk+OSlhGXiUCAvtKpLjra1yZHL0ccmmq9KMCa6U7eP80 4OgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776415580; x=1777020380; 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=0g3xhTQQzNyo3UTU7mOGYPerU7I/XAIAQPoLWVftL+A=; b=bl0opFQ5vCFKwDE8C3adpVSmaqw/d1wbwABpb4EkBCwvqRfiXDFA456RE4fR2u5h8c Z7UiBQTlu6Jr9ZfpvZuJjpZSuJGR/lAB03d/ms6USNCalTEE7ohBVb2AqHL1FGQOLnOI TA1cEBF7CpYIVKSRGVGuJltrF6H+SW/yJWVW7fAi0MbY/RfVc/5kg4NAFWIVhlpwdBA6 DCIArs+mMS1KJKqnAIrhMznkg5xuXbNPQqzluPNXWqV97ROrsKAvk6zfoBRgD6UAbSR5 7IRet6qAUJrzApkZGuLGGErHdqgSydqLIcBQ9FcJ5TGBG1Sei1TGPeq2Ho50pLqip5uT tniQ== X-Forwarded-Encrypted: i=1; AFNElJ/agEGJCj3edhG1IN0o+sC0Q9EsoFuSWTPDs7NMqatMullDawghPGXDFb5vdb5CCn4Ku/FUxGCuaMKakyJ1@lists.postgresql.org X-Gm-Message-State: AOJu0YzHTfj6d5M3+N5kqB/2le3Z8IJg63kmB2T+SKk1G8gy54ZQFaEK 74SUSleSB0TLg4T6n0DqYTTTympC/Jd5NfZVuKfngM3L41O1VjHCm9ul+n6uS+n+fcnfk17jcKq qqmjOjl4XmVYIqrJTRlHC46nw1ud7O8M= X-Gm-Gg: AeBDietMDfSGFYnUxP7qkSL91r/iUkDI8F8Gt4ZTICvWvGME+vI/U00nwCst2bZnVd4 dpOC8YAKpuWqTnn+jypkWLhYdXZGfy5/YvsEaLyMM+n5DYueC1+5vGRBZy2svhWbsZscTev98y9 3nS3/zacfU2k7UTFjKu/U7XJyUYVO87eCYHOI/6HWbGCz4kNF++wf3qhHOdGECeB6qp82Olzgqt 7dTV+XQvcwIlI47VL3N3B66lMXl7xJaXqMcU81TE4hfAk0hfmOrGZAtP61p06+iTJ3YoDOPoAQL n9nhFlGtDtYHweY+WQ== X-Received: by 2002:a05:622a:110c:b0:50d:8b23:4948 with SMTP id d75a77b69052e-50e36c7d209mr23131091cf.46.1776415580459; Fri, 17 Apr 2026 01:46:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Smith Date: Fri, 17 Apr 2026 18:45:53 +1000 X-Gm-Features: AQROBzD8fltPDwCYMTV7ZhhKpM2sCaURlrxg-NK5BRMaqkLPZxWXQ_zNL5L2VM0 Message-ID: Subject: Re: EXCEPT TABLE - Case inconsistency for describe \d and \dRp+ To: Amit Kapila Cc: =?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 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 publica= tions:" > > > > > > > I agree that your suggestion is clearer. > > > > If we make that change, then should the "Publications:" footer also be > > 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. > OK. Thanks. Next question: am I only changing this for the table describe (\d)? I am asking because I noticed the schema describe (\dn) also has a footer called "Publications:". ---------- test_pub=3D# CREATE PUBLICATION pub7 FOR TABLES IN SCHEMA my_schema; CREATE PUBLICATION test_pub=3D# \dn+ my_schema List of schemas Name | Owner | Access privileges | Description -----------+----------+-------------------+------------- my_schema | postgres | | Publications: "pub7" ---------- Would you like this schema footer also changed to say "Included in publications:"? =3D=3D=3D=3D=3D=3D Kind Regards, Peter Smith. Fujitsu Australia