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(-)