Refactor WaitLSNType enum to use a macro for type count
Alexander Korotkov <akorotkov@postgresql.org>
Author:
Alexander Korotkov <akorotkov@postgresql.org>
Date: 2025-12-14T15:18:32Z
Releases:
19 (unreleased)
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 <xunengzhou@gmail.com>
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlogwait.c | modified | +5 −5 |
| src/include/access/xlogwait.h | modified | +4 −3 |