pgsql: Make more use of RELKIND_HAS_STORAGE() - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Make more use of RELKIND_HAS_STORAGE()
Date
Msg-id E1jjdrG-0006bo-9h@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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 <tgl@sss.pgh.pa.us>
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(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Improve comments for [Heap]CheckForSerializableConflictOut().
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix typos and some format mistakes in comments