From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve psql's \d output for partitioned indexes.
Date: Tue, 23 Jul 2019 21:04:43 +0000
Message-ID: <E1hq1xj-0000nk-7R@gemulon.postgresql.org> (raw)
Improve psql's \d output for partitioned indexes.
Include partitioning information much as we do for partitioned tables.
(However, \d+ doesn't show the partition bounds, because those are
not stored for indexes.)
In passing, fix a couple of queries to look less messy in -E output.
Also, add some tests for \d on tables with nondefault tablespaces.
(Somebody previously added a rather silly number of tests for \d
on partitioned indexes, yet completely neglected other cases.)
Justin Pryzby, reviewed by Fabien Coelho
Discussion: https://postgr.es/m/20190422154902.GH14223@telsasoft.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/24f62e93f314c107b4fa679869e5ba9adb2d545f
Modified Files
--------------
src/bin/psql/describe.c | 114 +++++++++++++++---------------
src/test/regress/input/tablespace.source | 9 +++
src/test/regress/output/tablespace.source | 89 +++++++++++++++++++++++
3 files changed, 155 insertions(+), 57 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Improve psql's \d output for partitioned indexes.
In-Reply-To: <E1hq1xj-0000nk-7R@gemulon.postgresql.org>
References: <E1hq1xj-0000nk-7R@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox