]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Don't include execnodes.h in replication/conflict.h
authorÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 25 Sep 2025 12:45:08 +0000 (14:45 +0200)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 25 Sep 2025 12:52:41 +0000 (14:52 +0200)
commit7e638d7f5093fd24837ebe709135fa16ef8e3e7b
tree31f6837aa40c045b715128bee1e58281ff006a8c
parent81fc3e28e383d9a21843a5ab845a1bd1a1042e12
Don't include execnodes.h in replication/conflict.h

... which silently propagates a lot of headers into many places
via pgstat.h, as evidenced by the variety of headers that this patch
needs to add to seemingly random places.  Add a minimum of typedefs to
conflict.h to be able to remove execnodes.h, and fix the fallout.

Backpatch to 18, where conflict.h first appeared.

Discussion: https://postgr.es/m/202509191927.uj2ijwmho7nv@alvherre.pgsql
src/backend/access/transam/multixact.c
src/backend/access/transam/xlogrecovery.c
src/backend/storage/ipc/waiteventset.c
src/backend/utils/activity/pgstat_backend.c
src/include/pgstat.h
src/include/replication/conflict.h