pgsql: psql: Add information in \d+ about foreign partitions and child

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: psql: Add information in \d+ about foreign partitions and child
Date: 2022-11-08 05:21:35
Message-ID: E1osH3G-0007kG-7d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

psql: Add information in \d+ about foreign partitions and child tables

\d+ is already able to show if a partition or a child table is
"PARTITIONED" via its relkind, hence the addition of a keyword for
"FOREIGN" in the relation description is basically free.

Author: Ian Lawrence Barwick
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/CAB8KJ=iwzbEz2HR9EhNxQLVhMk2G_OYtQPJ9V=jWLadseggrOA@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/bin/psql/describe.c | 2 ++
src/test/regress/expected/foreign_data.out | 36 +++++++++++++++---------------
2 files changed, 20 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2022-11-08 07:45:19 pgsql: Suppress useless wakeups in walreceiver.
Previous Message Michael Paquier 2022-11-08 03:40:05 pgsql: Use pg_pwrite_zeros() in walmethods.c