Have heapam.h include lockdefs.h rather than lock.h.
authorRobert Haas <rhaas@postgresql.org>
Tue, 13 Sep 2016 13:21:35 +0000 (09:21 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 13 Sep 2016 13:21:35 +0000 (09:21 -0400)
commit445a38aba26cb80a4506af2248e3b425f795a099
tree124850dca84e3f8c0114a8a3d1f216488ea8cabb
parent0dba54f1666ead71c54ce100b39efda67596d297
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
src/backend/access/heap/syncscan.c
src/backend/access/transam/commit_ts.c
src/include/access/heapam.h
src/include/access/relscan.h
src/include/nodes/execnodes.h