psql: Describe partitioned tables/indexes as such
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 19 Nov 2018 19:54:26 +0000 (16:54 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 19 Nov 2018 20:30:06 +0000 (17:30 -0300)
commitd56e0fde828b95497ce9acfb4ce18bab64803c82
tree79ed787b19dddd1b601501b3a868f889dcce691f
parentdf303aff6601a893cf83c26ffd6c7eb5fb6b067e
psql: Describe partitioned tables/indexes as such

In \d and \z, instead of conflating partitioned tables and indexes with
plain ones, set the "type" column and table title differently to make
the distinction obvious.  A simple ease-of-use improvement.

Author: Pavel Stehule, Michaël Paquier, Álvaro Herrera
Reviewed-by: Amit Langote
Discussion: https://postgr.es/m/CAFj8pRDMWPgijpt_vPj1t702PgLG4Ls2NCf+rEcb+qGPpossmg@mail.gmail.com
src/bin/psql/describe.c
src/test/regress/expected/create_table.out
src/test/regress/expected/foreign_data.out
src/test/regress/expected/foreign_key.out
src/test/regress/expected/indexing.out
src/test/regress/expected/insert.out
src/test/regress/expected/rowsecurity.out