pgsql: Improve psql's \d output for TOAST tables.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve psql's \d output for TOAST tables.
Date: 2019-07-23 21:04:43
Message-ID: E1hq1xj-0000nj-7T@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve psql's \d output for TOAST tables.

Add the name of the owning table to the footers for a TOAST table.
Also, show all the same footers as for a regular table (in practice,
this adds the index and perhaps the tablespace and access method).

Justin Pryzby, reviewed by Fabien Coelho

Discussion: https://postgr.es/m/20190422154902.GH14223@telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eb5472da9f83c2e432ac27a053929947e354d20c

Modified Files
--------------
src/bin/psql/describe.c | 37 ++++++++++++++++++++++++++++++++++---
src/test/regress/expected/psql.out | 12 ++++++++++++
src/test/regress/sql/psql.sql | 3 +++
3 files changed, 49 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2019-07-23 21:25:11 pgsql: Check that partitions are not in use when dropping constraints
Previous Message Peter Eisentraut 2019-07-23 12:50:13 pgsql: Add CREATE DATABASE LOCALE option