Replace GUC_UNIT_MEMORY|GUC_UNIT_TIME with GUC_UNIT.
authorMasahiko Sawada <msawada@postgresql.org>
Thu, 15 Jun 2023 08:04:19 +0000 (17:04 +0900)
committerMasahiko Sawada <msawada@postgresql.org>
Thu, 15 Jun 2023 08:04:19 +0000 (17:04 +0900)
commita54fc892ad0a5673d75b199128b1f5fcf5e1a41d
tree4bb7de05be059484d0f062531744e247e4fa0e2a
parentc00fbe89dc51c13eae1ca71460bcddfc3dde5081
Replace GUC_UNIT_MEMORY|GUC_UNIT_TIME with GUC_UNIT.

We used (GUC_UNIT_MEMORY | GUC_UNIT_TIME) instead of GUC_UNIT some
places but we already define it in guc.h. This commit replaces them
with GUC_UNIT for better consistency with their surrounding code.

Author: Japin Li
Reviewed-by: Richard Guo, Michael Paquier, Masahiko Sawada
Discussion: https://postgr.es/m/MEYP282MB1669EC0FED922F7A151673ACB65AA@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
src/backend/utils/misc/guc.c