Include access method in listTables output - Mailing list pgsql-hackers

From Georgios
Subject Include access method in listTables output
Date
Msg-id svaS1VTOEscES9CLKVTeKItjJP1EEJuBhTsA0ESOdlnbXeQSgycYwVlliL5zt8Jwcfo4ATYDXtEqsExxjkSkkhCSTCL8fnRgaCAJdr0unUg=@protonmail.com
Whole thread Raw
Responses Re: Include access method in listTables output  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
Hi,

Postgres 12 introduced TableAm api. Although as far as I can see, currently only heap is
included as access method, it is fair to imagine that users will start adding their own methods
and more methods to be included in Postgres core.

With that in mind, it might be desirable for a user to see the access method when describing
in verbose mode, eg. `\d+`.

A small patch is attached [1] to see if you think it makes sense. I have not included any
differences in the tests output yet, as the idea might get discarded. However if the patch is
found useful. I shall ament the test results as needed.

Cheers,
//Georgios


Attachment

pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: [PATCH] Keeps tracking the uniqueness with UniqueKey
Next
From: David Rowley
Date:
Subject: Re: Speedup usages of pg_*toa() functions