Add information about access method for partitioned relations in \dP+

Michael Paquier <michael@paquier.xyz>

Commit: 978f38c771fb3a19fdd5cb73cb662441eb9e551c
Author: Michael Paquier <michael@paquier.xyz>
Date: 2024-07-02T00:01:38Z
Releases: 18.0
Add information about access method for partitioned relations in \dP+

Since 374c7a229042, it is possible to set a table AM on a partitioned
table.  This information was showing up already in psql with \d+, while
\dP+ provided no information.

This commit extends \dP+ to show the access method used by a partitioned
table or index, if set.

Author: Justin Pryzby
Discussion: https://postgr.es/m/ZkyivySXnbvOogZz@pryzbyj2023

Files

PathChange+/−
src/bin/psql/describe.c modified +11 −1

Discussion