On Mon, May 6, 2019 at 12:26 PM Andres Freund <and...@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