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 1wC7rZ-001gci-1p for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Apr 2026 03:21:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wC7rX-004JWi-1p for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Apr 2026 03:21:24 +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 1wC7rX-004JWY-0t for pgsql-hackers@lists.postgresql.org; Mon, 13 Apr 2026 03:21:24 +0000 Received: from mail-yw1-x1132.google.com ([2607:f8b0:4864:20::1132]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wC7rW-00000000lnp-02KL for pgsql-hackers@lists.postgresql.org; Mon, 13 Apr 2026 03:21:23 +0000 Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-79a2ee65171so40362577b3.2 for ; Sun, 12 Apr 2026 20:21:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776050479; cv=none; d=google.com; s=arc-20240605; b=EHSTy1hltlqtmn37Dw1yv3iG5uyAkH0ocouEaNI3CugxRmq5gHqw/t6W1fTI6XS75z OjYzOuTXYvBTyENrEG65M4lVdvHM+GaUnyDylRrmdYKR82a2AhWJuZb92VECFzw224k3 x9/9kAbfQ/uIRJTFa+AhvOfzVtjIPr8An6iF9AfZKHhxnqNhJVEkdkIdSBkJQHBcXKnq vZ7V7WBy1xXDKZIqcWA8+wfobHvvb5G6FRWkahsePhxE//kXFLGVs9qGMRBavyvY00mI 0u9Y5/ZmYDGXYaJXOIpdVIUVV83EnxT1ivH68RUra+JVzvUZCkhWiZHfat5RbP+7/Yir Ckpg== 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=SpLmp7hfpJOx82ZKpIubqJxyhtQUNUC5wGq4ZEFfhUI=; fh=llasHciruDMoOEVnpWUooX/S0KBQKc8M95PRfx3kDRQ=; b=kXXiMeGCP30fUElvcKmp45aqZJJimBlu+cTt0x9cyFkA2BuZjU/w2Y9KsBuL2Yctv+ brVvuWjUzlYysZ0y5FJ8rYpsx0z7ceNyw8sVk+Urwy8wMcCSeBES5aZi2iMGrabnSt6h 2JlmK4Njwe1osigQXH1jW2D8x8e4i9Y+WlC2kkE2sa/4j+qsaApVZOFJwUMM1ad9N7gS XHG7r3gmxc86YwyqTCakcQV+94VcQEsDbxDQFuc2uIctoTEcg41DKlkxEBa7RSjgxGvX lYwYR1kPc7IuzGMpLIk7GgRxalv1oJw17Nmcp0NSsT9E8GdWwRKdq/S+J3xCCx11ATo1 WFjQ==; 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=1776050479; x=1776655279; 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=SpLmp7hfpJOx82ZKpIubqJxyhtQUNUC5wGq4ZEFfhUI=; b=FduTUT5U1ax433B8JoDICsaXbmWdg/CyEefvqnIhoZSzUqDNycMawj7qw6Aj3ycX3L Wrb7OknnJVgU1uy6+gtW2vS4lpSWDSvpPYHF4J30/0bd/2nU6ub5+LPaJ2RQKRIa59hh cwXDXSo/nmsHYXTftjCgwk5NZxtQVNAWz8jWAh9+6VgPZlbbkM6qi09PdZV+gC6y3EGG ZRcD1HQPUhMfRwcfHTdQhE2FUW3s6ksP1rYnkTeVk/DA+SKDbVcaP/OXj8oAOzrolDdM C1PaTwS9RWfk3k4lpfro5N8nfcGI1uoIggbngrFrcM1FtubGt1y6ufLv2E+M+2nr6FHb VdJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776050479; x=1776655279; 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=SpLmp7hfpJOx82ZKpIubqJxyhtQUNUC5wGq4ZEFfhUI=; b=bcGELH5XssNHHzCcVuesBM7ODE6AzodcsbWJjT2Nzi0sjawix0tWgjZEpPMWJDxuq8 A+nL0JzI/oqX04f8SipqtWoPpngMYe4hwkA5J0oIKnMaYnEdH7hBsAZ/ElOWj5TjUtxi cmF0WWbHXWiD7fa/UExZDU7IxCq23p3eY5CrWBOD8yywfNVJZDlhN7+zjDqhCxqGWO7M xiPesQWVb9pCvQ6EpLR25NmYboWFszWwxHK6Aay4yIdJmnTapkB27w+iumQ+B3ZzPcDW FbyEUB2JnGp+lUjldWIUwMEiLQgv9CyYD6w9ibP3cymKNJtLrI2qnfBkypgXGyLAHh/W 234w== X-Forwarded-Encrypted: i=1; AFNElJ95NzEW7Pftf9DzKmT/XSzK1+a/R5SOID6yOl1pPMta3pobIuIIxQ+RgRDTyOMEp3OEE3cJfv2W9v9O1vGu@lists.postgresql.org X-Gm-Message-State: AOJu0YynHUL8lLbDxbttiyhdNenZwHhBGm+fQ7c1lOlUohVH8L9o+82I GWHswWiNmo0drJQ2d+4M8yBnnnrSkD1vJwsv603aeBevuMBbZ77NcjFDXDQICXMevavQ+s/y1ue MCpRh/ANu6dBR4IV+42AT5rOdweZbVy0= X-Gm-Gg: AeBDiesE5hxN/9k0NzhikaACrVYqaOH0hnrr626DiFPdgm0uq1XD/FwIZqyxX6KxkPK PaAcHhSgamPuPcfZ6fnvpvBjXKR2ROIHLJdQ2Z12TvtT5YeNO+dhz968cHR0+iiImag0ClBEYvt FIhJyK22SpFGidHTruL43ZT1qdcxigJ3AwA6d/QfJ86t9QQJZR0e20fXOVO2vWqBmoOgQM5PilH IwMdyAaQYtmMZlHkdYDIJt6TT4E5xwP6ZzUJeJ2pCPrjMBp93XPPYJ4iDiK0K2vhXrI+GWOJf0n M8GYMVD3f0Llm1UV7xw= X-Received: by 2002:a05:690c:16:b0:7a1:e3cc:d223 with SMTP id 00721157ae682-7af6f227b89mr126199957b3.4.1776050479540; Sun, 12 Apr 2026 20:21:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: vignesh C Date: Mon, 13 Apr 2026 08:51:06 +0530 X-Gm-Features: AQROBzCcsBe99A2pm6VbLrKpXo8liJNOAylf1GVjVpiqJXS-JZNc9TW3e2u4cRQ Message-ID: Subject: Re: EXCEPT TABLE - Case inconsistency for describe \d and \dRp+ To: Peter Smith Cc: Amit Kapila , 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, 13 Apr 2026 at 07:45, Peter Smith wrote: > > On Fri, Apr 10, 2026 at 8:19=E2=80=AFPM Amit Kapila wrote: > > > > On Fri, Apr 10, 2026 at 12:43=E2=80=AFPM Peter Smith wrote: > > > > > > Notice that that the describe publication says: > > > "Tables:" and "Except tables:" (Lowercase "tables") > > > > > > Notice that the describe table says: > > > "Publications:" and "Except Publications:" (Uppercase "Publications"= ) > > > > > > I think they should use a consistent case: > > > eg1. (both lowercase) Except tables; Except publications, OR > > > eg2. (bother uppercase) Except Tables; Except Publications > > > > > > > We should follow eg1. I checked few examples where we follow same > > pattern as eg1: > > > > Example-1: (See: "Tables from schemas") > > postgres=3D# \dRp+ pub1 > > Publication pub1 > > Owner | All tables | All sequences | Inserts | Updates | Deletes | > > Truncates | Generated columns | Via root | Description > > -------+------------+---------------+---------+---------+---------+----= -------+-------------------+----------+------------- > > amit | f | f | t | t | t | t > > | none | f | > > Tables from schemas: > > "sch1" > > > > Example-2: ((See: "No connections") > > postgres=3D# create user u1 CONNECTION LIMIT 0; > > CREATE ROLE > > postgres=3D# \du u1 > > List of roles > > Role name | Attributes > > -----------+---------------- > > u1 | No connections > > > > Hi Amit. > > Thanks for the advice. > > PSA patch v1 to change "Except Publications" to "Except publications". The commit message could be improved: Date: Mon, 13 Apr 2026 12:12:00 +1000 Subject: [PATCH v1] describe table except publications --- src/bin/psql/describe.c | 2 +- Other than that, the patch looks good to me. Regards, Vignesh.