Improve psql's \d output for partitioned indexes.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/describe.c | modified | +57 −57 |
| src/test/regress/input/tablespace.source | modified | +9 −0 |
| src/test/regress/output/tablespace.source | modified | +89 −0 |
Discussion
- make \d pg_toast.foo show its indices 27 messages · 2019-04-22 → 2019-07-23