Have heapam.h include lockdefs.h rather than lock.h.
lockdefs.h was only split from lock.h relatively recently, and
represents a minimal subset of the old lock.h. heapam.h only needs
that smaller subset, so adjust it to include only that. This requires
some corresponding adjustments elsewhere.
Peter Geoghegan
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/445a38aba26cb80a4506af2248e3b425f795a099
Modified Files
--------------
src/backend/access/heap/syncscan.c | 2 ++
src/backend/access/transam/commit_ts.c | 1 +
src/include/access/heapam.h | 2 +-
src/include/access/relscan.h | 1 +
src/include/nodes/execnodes.h | 1 +
5 files changed, 6 insertions(+), 1 deletion(-)