Commit 445a38ab authored by Robert Haas's avatar Robert Haas

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
parent 0dba54f1
...@@ -48,6 +48,8 @@ ...@@ -48,6 +48,8 @@
#include "access/heapam.h" #include "access/heapam.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "storage/lwlock.h"
#include "storage/shmem.h"
#include "utils/rel.h" #include "utils/rel.h"
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "funcapi.h" #include "funcapi.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "pg_trace.h" #include "pg_trace.h"
#include "storage/shmem.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/snapmgr.h" #include "utils/snapmgr.h"
#include "utils/timestamp.h" #include "utils/timestamp.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "nodes/lockoptions.h" #include "nodes/lockoptions.h"
#include "nodes/primnodes.h" #include "nodes/primnodes.h"
#include "storage/bufpage.h" #include "storage/bufpage.h"
#include "storage/lock.h" #include "storage/lockdefs.h"
#include "utils/relcache.h" #include "utils/relcache.h"
#include "utils/snapshot.h" #include "utils/snapshot.h"
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "access/htup_details.h" #include "access/htup_details.h"
#include "access/itup.h" #include "access/itup.h"
#include "access/tupdesc.h" #include "access/tupdesc.h"
#include "storage/spin.h"
/* /*
* Shared state for parallel heap scan. * Shared state for parallel heap scan.
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "lib/pairingheap.h" #include "lib/pairingheap.h"
#include "nodes/params.h" #include "nodes/params.h"
#include "nodes/plannodes.h" #include "nodes/plannodes.h"
#include "utils/hsearch.h"
#include "utils/reltrigger.h" #include "utils/reltrigger.h"
#include "utils/sortsupport.h" #include "utils/sortsupport.h"
#include "utils/tuplestore.h" #include "utils/tuplestore.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment