Re: Fix how some lists are displayed by psql \d+

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix how some lists are displayed by psql \d+
Date: 2026-01-21 08:04:34
Message-ID: 785CF596-5626-4ECB-AC3D-13FB266D69D0@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Jan 21, 2026, at 10:58, Peter Smith <smithpb2250(at)gmail(dot)com> wrote:
>
> A rebase was needed for some more test expected output changes.
>
> PSA v2.
>
> ======
> Kind Regards,
> Peter Smith.
> Fujitsu Australia
> <v2-0002-Fix-to-make-psql-d-lists-of-inherits-look-same-as.patch><v2-0001-Fix-to-make-psql-d-lists-of-partitions-look-same-.patch>

I still see some difference:
```
evantest=# \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')
```

The index name is quoted, but the partition names are not.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message zengman 2026-01-21 08:12:42 Re: tuple radix sort
Previous Message Zhijie Hou (Fujitsu) 2026-01-21 07:52:12 RE: Newly created replication slot may be invalidated by checkpoint