Re: make \d pg_toast.foo show its indices
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Rafia Sabih <rafia.pghackers@gmail.com>, Justin Pryzby <pryzby@telsasoft.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-05-06T17:52:23Z
Lists: pgsql-hackers
On Mon, May 6, 2019 at 12:26 PM Andres Freund <andres@anarazel.de> wrote: > I'm not convinced by that. I've certainly many a time wrote queries > against pg_class to figure out which relation a toast table belongs > to. E.g. after looking at the largest relations in the system, looking > at pg_stat_*_tables, after seeing an error in the logs, etc. +1. I think it would be great for \d on the TOAST table to show this information. > > That seems off-topic for this thread though. I agree with the > > stated premise that \d on a toast table should show all the same > > information \d on a regular table would. > > +1 That premise seems like a good one, too. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Improve psql's \d output for partitioned indexes.
- 24f62e93f314 13.0 landed
-
Improve psql's \d output for TOAST tables.
- eb5472da9f83 13.0 landed