Have heapam.h include lockdefs.h rather than lock.h.

Robert Haas <rhaas@postgresql.org>

Commit: 445a38aba26cb80a4506af2248e3b425f795a099
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-09-13T13:21:35Z
Releases: 10.0
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

Files