summaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/decode.c
diff options
context:
space:
mode:
authorMichael Paquier2025-04-28 00:08:15 +0000
committerMichael Paquier2025-04-28 00:08:15 +0000
commitb225c5e76ed1053e505e392423b0dab065a3b813 (patch)
tree2cefc5584c85cdf5110963c680cc5c8f416d35fc /src/backend/replication/logical/decode.c
parent1aa7cf9eb85972aaf2969306e84f5fc794fbef7f (diff)
Remove circular #include's between wait_event.h and wait_event_types.h
wait_event_types.h is generated by the code, and included wait_event.h. wait_event.h did the opposite move, including wait_event_types.h, causing a circular dependency between both. wait_event_types.h only needs to now about the wait event classes, so this information is moved into its own file, and wait_event_types.h uses this new header so as it does not depend anymore on wait_event.h. Note that such errors can be found with clang-tidy, with commands like this one: clang-tidy source_file.c --checks=misc-header-include-cycle -- \ -I/install/path/include/ -I/install/path/include/server/ Issue introduced by fa88928470b5. Author: Bertrand Drouvot <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/replication/logical/decode.c')
0 files changed, 0 insertions, 0 deletions