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 1viTUh-007MUf-1x for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Jan 2026 08:23:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1viTUg-005rki-2N for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Jan 2026 08:23:15 +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 1viTUg-005rkZ-1P for pgsql-hackers@lists.postgresql.org; Wed, 21 Jan 2026 08:23:14 +0000 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1viTUe-001gOg-2a for pgsql-hackers@lists.postgresql.org; Wed, 21 Jan 2026 08:23:14 +0000 Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-5029af2b4bcso28023421cf.0 for ; Wed, 21 Jan 2026 00:23:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1768983791; cv=none; d=google.com; s=arc-20240605; b=XWl+x/SRL4TmwOydI7Fch33AUsGlEouuYfwSSEfl7na0yBiwNiF02iJYi36zqSX6IA rLy8P12Q5cNIRIJZFcSxImt2wMj/UCfJuvJr6ARa7gFfpKtIba+xeKFKlThVEstUc7YD UGg/u7W2PWTByZSnPB0XxZWJCi0E7pdz6rHx3A8Mv70yV0sGeLweJjZCiRd2GFQ0TMhw TFp2H51psl3/R9y+rYbAYFnBxUOfhpKvsPXzybP6ki3gvsFnKJPC3+ZN5rXYcjs0wd82 zudXhrTrpZw9LcJ9VRJOwSxo3zb5jVMTsbenATyVTNW4tZayl9KovJOLEU+bT3PJZTOJ cKQQ== 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=RIBJUr1xpVEeZh2F4BfB3RWrRmNQZYPsEIOXyij360I=; fh=difWPyZhf+FMfWnUHiBJsrLSKQJL23D1+3HP+YAZNos=; b=KctvcISdtyFutjDBQycOXILvUk0aX5DjF22Qb5gWe8c50+Kq3SoE5jfh1XG0xEd7Qy vIS1Vi0yoOO4pPNBn92CNxFPvD510CqnKYBO8ixFWfj39rMXq8g7XP+/ApMRcvNe4f0T Kqnr7FTXpGWH+7EQOQS91zQ5EKCSbPy3pJJJOtge4clhk2QLGhkCPHbbdXV/lHRpBuo3 OdPDR2PWCtPen9KhijE0ac2f+croYJO1/8FhMH5/m1XxvnWXD68U1ci6KISj4ZTA1v4K lpAQFknGI3+EEvl7YWKp7hYCa01pOrZSIQDUh+FX5QXRcCjK5oe5uBE5K4J/ySQMJ1MF 6bkQ==; 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=20230601; t=1768983791; x=1769588591; 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=RIBJUr1xpVEeZh2F4BfB3RWrRmNQZYPsEIOXyij360I=; b=UFKdrIz0cQoMJQg+Q5eXvf8kCzDiJ1+P6t9RkxWoXlPo90i+VI8WRdBVpFYouKJiQU SrGAG8d3uVsMkXQzy/7AGoQ2KGvJB3eNV9vSVGv0OLNBab70te8d9T//IA3p7NiFNWZZ XoHnG3/3r34sqgTBB2OHVDbZV/HiARKGfvJ8EXukQpAFFUJFKTyK2W4m42U7h91iAU90 a6iwpj++ZdiKpJmysZL0HHeBJJqJz8Ti8A1OI4FPc+M1dEFQgfN0WeFWAM6HNGSMrI5v DsU2x8z96HisXlnlQ1Pj9/QMs/i/PJoYnQ6ZLVHhYSk789vXYugAFnThgIOrZPdbpRp7 VHUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768983791; x=1769588591; 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=RIBJUr1xpVEeZh2F4BfB3RWrRmNQZYPsEIOXyij360I=; b=Pd6di+rUTsVPrbpKRPsynNHTaaBhC2mcQTUCzgOkQ6qZWF/9dbiDTJXV5oVF8vo8PI 1mhCc5qWmWQtokYx5XzxDc23zCja6n2zN+4gurqkCZrhcYHafGeLHqSe5fV8gi9V92AY l90cf7kTBVirYu7gfd69Ia1NzHSrMmTfUmj6xJfpfFnKZCa8sh6584Eft7bp/xefOwmT gfs/YYLaZ5uTZCWZOinjdCrGU2EGeEscYc1PVcs4K0X4WkzC82bd0WxynzSK9FattcYE bfkeU+HhEU84L7DHPY+bOWU0OnWKjXKgtgvOUM1a+TKv4AqVKAqflSbtDtVoQcSe+gDr v9cg== X-Gm-Message-State: AOJu0YzlAjcDfOg5wBARbubcfGaP7Zwzy94+Krm1jgdUFP0dejZUd4N6 LNsDU0cfCq+ddumPJEC644zA+nTGa6A0UZJXXAzYR2AlFnaizCsOAAXzVkk16USXzB3+RKkUixb CINC04P0rE3QXzVOmVFyFdU3GpLtByn0= X-Gm-Gg: AZuq6aLR5f7SgkT4Tc4m7+sK1mcH02NR8yiQleRR/dgerXjfCzWzMIWfVNZtxv58ipM byXru7X0r9Gz4LNzS23VhsTz0cMRX59thBtuUanvrbOvW0pKCir6vtMJcZoIyDtv995KOkTyR4n rKbHiyA//fYKoCfwbbQt94+/NUBcMQKuLp54uJIvyLTtrs00Z9NGM86IJ08hU1ODvvg/jcb+q7H UguW8KiY3Gw3tcVLJlAxdYVRb2QqTPEDBunisuZKKp6uiBNYUWYGxCouxJzxAjK8KKz+DiGPuYL qtcgy9EG8uNKqLTglPFGNBuTZAwRyg== X-Received: by 2002:a05:622a:1814:b0:4ec:fdaa:b31e with SMTP id d75a77b69052e-502d82b7c53mr60863771cf.32.1768983790988; Wed, 21 Jan 2026 00:23:10 -0800 (PST) MIME-Version: 1.0 References: <785CF596-5626-4ECB-AC3D-13FB266D69D0@gmail.com> In-Reply-To: <785CF596-5626-4ECB-AC3D-13FB266D69D0@gmail.com> From: Peter Smith Date: Wed, 21 Jan 2026 19:22:44 +1100 X-Gm-Features: AZwV_QjEgdrJPzDyN7o4u-fGkRRiSXoPkNiwud9KdH5H0AHnTSTGh1wpWQEd-3w Message-ID: Subject: Re: Fix how some lists are displayed by psql \d+ To: Chao Li Cc: 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 Wed, Jan 21, 2026 at 7:05=E2=80=AFPM Chao Li wr= ote: > > > > > On Jan 21, 2026, at 10:58, Peter Smith wrote: > > > > A rebase was needed for some more test expected output changes. > > > > PSA v2. > > > > =3D=3D=3D=3D=3D=3D > > Kind Regards, > > Peter Smith. > > Fujitsu Australia > > > > I still see some difference: > ``` > evantest=3D# \d+ p_test; > Partitioned table "public.p_test" > Column | Type | Collation | Nullable | Default | Storage | Compres= sion | 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') > ``` > > The index name is quoted, but the partition names are not. > AFAICT Indexes are quoted Constraints are quoted Publications are also quoted Partitions are NOT quoted Inherits are NOT quoted ~ Please confirm --- So, you are expecting that Partitions and Child tables should also be quoted, so that everything looks the same? This is scope creep from the original intent of this thread, so I will look at doing this in a separate patch 0003. =3D=3D=3D=3D=3D=3D Kind Regards Peter Smith. Fujitsu Australia