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 1viTc5-007Q3M-27 for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Jan 2026 08:30:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1viTc4-005to4-1e for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Jan 2026 08:30:52 +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 1viTc4-005tnw-0i for pgsql-hackers@lists.postgresql.org; Wed, 21 Jan 2026 08:30:52 +0000 Received: from mail-dl1-x1232.google.com ([2607:f8b0:4864:20::1232]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1viTc2-001gSd-1B for pgsql-hackers@lists.postgresql.org; Wed, 21 Jan 2026 08:30:52 +0000 Received: by mail-dl1-x1232.google.com with SMTP id a92af1059eb24-12339e2e2c1so466135c88.1 for ; Wed, 21 Jan 2026 00:30:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768984248; x=1769589048; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TuuKIGXxuj5RndlohErwckHtyH2JavD5UQdUd6PI+ME=; b=faX2jlT1Ra9lHsHapVwJfhj+fHKkk6GW42XzUJooQwmKvL+NMXOqnGPIUbO/FUbe7L pQhi4VKa0yj6YpgMp3V+rKEaLqtgMUBw8aSenYomnkDP/y2Uej4QtneEdsHcD8WwA96Y MXttP0ARakApKM3tIKCUc77NQyJaZ0mH75h0/0XIjJE0gfVevMSGPoNF8UaFGxPL04CH vt8URPBVkJa5dLn1vjsd2f28HZkGR4kXI3iaZTb1nJRkv62uyjuX1xGlroufSeVdwuxI VPoTUoMFkBPyDNkMNxR6VmKKsWBbY628V+M6lmb+n82k7rlhf1IAA7jFVEEh4Eu3tn8/ pXnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768984248; x=1769589048; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TuuKIGXxuj5RndlohErwckHtyH2JavD5UQdUd6PI+ME=; b=VI0YK5ggEcvO2Mu8sC7K4neLOYq7OoeiZAhv8dkU0rBIJ0JkU7J7X2FHSBMSwLCHHx h6gkeR3TG7VndwYhSbflqFIEt63xBrXIUI0PuCU7AnOhSJVwQEOjlXbYj34zVbhyQtcr OHs6AFPUZK0gBzI409qzCSaE4nmWOOkMFAXJPjb1dntvzdVQ1FbWNtQT30S1aBH4c8NP fwXeDIyUEr4nzIGXbIRcOfE78eoF8mbWKmA7o/4tIsy6cyfQhajaeRNgoIw3SuMZpETD OSiaYFtVrJGG7Ewj0wk3yC2dk3lpFK47nI4EaVsOzsHctCvum6rDMGpbYYSLpctvSBXg IqUw== X-Gm-Message-State: AOJu0YxIpDYvX9+4uaJNiN3n5jIhkwM8/j/+XZ9GUz3TgcWzcauZhOfo duHh0dv5XRz8vZXlCdLNJWE1NNDA4iKL0Z3JSYgkA2PLfa5pHYBm11VX X-Gm-Gg: AZuq6aILtCSRW5Wo2oVUBs8Rkt/fT9ythi0CgJWrg3xFtyF7VtcGWu+NWomR3B/xm0L oSDUGU5GiQ776/GhAkib3ZiTCNhgmj+U3BztdAmREfpgUlq8L5BNs8dBi/Ox3DLEwn1J9qczxlv xyXVB5aB28SWZ+L+kZSMkZVIvB9XZJTFghPceaFe+QSonX1f4svr3XCLTybFfwqFTd31CFOtzUA Rf3WKmGyeaJFI+hCfCIB0kS77M9zopDT3IpLO15MdlJUEhnUU166keyOSM+yiYJIdO+/vplkS54 w6aRWYhdOqYU8PnsQwRFWDivZD0fHJMXw7X+z8v2o3PYBE2EzBRZ8It0L02Q8/tJWL2RiUPPEWP cwVZ1Nh5sIGvQK/cuwcXMf2UJev/a20a+LZ7tbjahdtnXpQJEWtE+skOPIRoYCYKlePZS+S0bFF DpUcJQnQ3SlA/IYdzqlEZ8 X-Received: by 2002:a05:7022:1609:b0:11e:3e9:3e91 with SMTP id a92af1059eb24-1244aeb78dbmr13961436c88.26.1768984247995; Wed, 21 Jan 2026 00:30:47 -0800 (PST) Received: from smtpclient.apple ([196.247.24.158]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1244aefab3fsm21630857c88.12.2026.01.21.00.30.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2026 00:30:47 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: Fix how some lists are displayed by psql \d+ From: Chao Li In-Reply-To: Date: Wed, 21 Jan 2026 16:30:12 +0800 Cc: PostgreSQL Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <8048C321-FECA-4ECD-B022-54D842151B42@gmail.com> References: <785CF596-5626-4ECB-AC3D-13FB266D69D0@gmail.com> To: Peter Smith X-Mailer: Apple Mail (2.3864.300.41.1.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jan 21, 2026, at 16:22, Peter Smith wrote: >=20 > On Wed, Jan 21, 2026 at 7:05=E2=80=AFPM Chao Li = wrote: >>=20 >>=20 >>=20 >>> On Jan 21, 2026, at 10:58, Peter Smith = wrote: >>>=20 >>> A rebase was needed for some more test expected output changes. >>>=20 >>> PSA v2. >>>=20 >>> =3D=3D=3D=3D=3D=3D >>> Kind Regards, >>> Peter Smith. >>> Fujitsu Australia >>> = >>=20 >> I still see some difference: >> ``` >> evantest=3D# \d+ p_test; >> Partitioned table "public.p_test" >> Column | Type | Collation | Nullable | Default | Storage | = Compression | Stats target | Description >> = ----------+---------+-----------+----------+---------+----------+---------= ----+--------------+------------- >> id | integer | | | | plain | = | | >> username | text | | | | extended | = | | >> category | text | | | | extended | = | | >> Partition key: LIST (category) >> Indexes: >> "idx_p_test_id" btree (id) >> Partitions: >> p_test_v1 FOR VALUES IN ('A') >> p_test_v2 FOR VALUES IN ('B') >> ``` >>=20 >> The index name is quoted, but the partition names are not. >>=20 >=20 > AFAICT > Indexes are quoted > Constraints are quoted > Publications are also quoted >=20 > Partitions are NOT quoted > Inherits are NOT quoted >=20 > ~ >=20 > Please confirm --- So, you are expecting that Partitions and Child > tables should also be quoted, so that everything looks the same? >=20 > This is scope creep from the original intent of this thread, so I will > look at doing this in a separate patch 0003. >=20 > =3D=3D=3D=3D=3D=3D > Kind Regards > Peter Smith. > Fujitsu Australia Actually I don=E2=80=99t know the rule, which should be quoted and which = should not. Is the inconstancy a blocker? So, I was just pointing out the inconsistency, and I want to hear a = clarification from someone. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/