Make more use of RELKIND_HAS_STORAGE()

Make use of RELKIND_HAS_STORAGE() where appropriate, instead of
listing out the relkinds individually.  No behavior change intended.

Reviewed-by: Tom Lane <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/7a22bf51-2480-d999-1794-191ba67ff47c%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ffd2582297b86f640b60ba46097b70743f920d35

Modified Files
--------------
src/backend/catalog/heap.c      |  7 +---
src/backend/postmaster/pgstat.c |  6 +---
src/backend/utils/adt/dbsize.c  | 73 ++++++++++++++++-------------------------
3 files changed, 31 insertions(+), 55 deletions(-)

Reply via email to