From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add access method names to \d[i|m|t]+ in psql
Date: Wed, 02 Sep 2020 08:03:57 +0000
Message-ID: <E1kDNkL-0005k9-HZ@gemulon.postgresql.org> (raw)
Add access method names to \d[i|m|t]+ in psql
Listing a full set of relations with those psql meta-commands, without a
matching pattern, has never showed the access method associated with
each relation. This commit adds the access method of tables, indexes
and matviews, masking it for relation kinds where it does not apply.
Note that when HIDE_TABLEAM is enabled, the information does not show
up. This is available when connecting to a backend version of at least
12, where table AMs have been introduced.
Author: Georgios Kokolatos
Reviewed-by: Vignesh C, Michael Paquier, Justin Pryzby
Discussion: https://postgr.es/m/svaS1VTOEscES9CLKVTeKItjJP1EEJuBhTsA0ESOdlnbXeQSgycYwVlliL5zt8Jwcfo4ATYDXtEqsExx...
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/07f386ede026ae8c3f2adeba0c22139df19bf2ff
Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 4 ++-
src/bin/psql/describe.c | 18 +++++++++-
src/test/regress/expected/psql.out | 74 ++++++++++++++++++++++++++++++++++----
src/test/regress/sql/psql.sql | 24 +++++++++++--
4 files changed, 108 insertions(+), 12 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Add access method names to \d[i|m|t]+ in psql
In-Reply-To: <E1kDNkL-0005k9-HZ@gemulon.postgresql.org>
References: <E1kDNkL-0005k9-HZ@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox