Refactor WaitLSNType enum to use a macro for type count Change WAIT_LSN_TYPE_COUNT from an enum sentinel to a macro definition, in a similar way to IOObject, IOContext, and BackendType enums. Remove explicit enum value assignments well.
Author: Xuneng Zhou <[email protected]> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b27e48213fbc1d0ff698be4ae5a0eb3e161d9172 Modified Files -------------- src/backend/access/transam/xlogwait.c | 10 +++++----- src/include/access/xlogwait.h | 7 ++++--- 2 files changed, 9 insertions(+), 8 deletions(-)
