Have heapam.h include lockdefs.h rather than lock.h.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/syncscan.c | modified | +2 −0 |
| src/backend/access/transam/commit_ts.c | modified | +1 −0 |
| src/include/access/heapam.h | modified | +1 −1 |
| src/include/access/relscan.h | modified | +1 −0 |
| src/include/nodes/execnodes.h | modified | +1 −0 |