]> granicus.if.org Git - postgresql/commit
Split heapam_xlog.h from heapam.h
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 28 Aug 2012 23:02:00 +0000 (19:02 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 28 Aug 2012 23:02:00 +0000 (19:02 -0400)
commit21c09e99dc252269360bd146afee9481fa80abbc
tree2f270759f02364279eeeda38c46283ca6b63a3d1
parentfda0594fc2f4c98ee50ea02fa196ca51db81ea70
Split heapam_xlog.h from heapam.h

The heapam XLog functions are used by other modules, not all of which
are interested in the rest of the heapam API.  With this, we let them
get just the XLog stuff in which they are interested and not pollute
them with unrelated includes.

Also, since heapam.h no longer requires xlog.h, many files that do
include heapam.h no longer get xlog.h automatically, including a few
headers.  This is useful because heapam.h is getting pulled in by
execnodes.h, which is in turn included by a lot of files.
26 files changed:
src/backend/access/gin/gininsert.c
src/backend/access/heap/heapam.c
src/backend/access/heap/pruneheap.c
src/backend/access/heap/rewriteheap.c
src/backend/access/heap/visibilitymap.c
src/backend/access/index/genam.c
src/backend/access/nbtree/nbtree.c
src/backend/access/nbtree/nbtsort.c
src/backend/access/nbtree/nbtxlog.c
src/backend/access/spgist/spginsert.c
src/backend/access/transam/rmgr.c
src/backend/commands/tablecmds.c
src/backend/commands/vacuumlazy.c
src/backend/executor/nodeSubplan.c
src/backend/foreign/foreign.c
src/backend/nodes/print.c
src/backend/optimizer/prep/prepunion.c
src/backend/optimizer/util/plancat.c
src/backend/parser/parse_func.c
src/backend/utils/adt/domains.c
src/backend/utils/adt/regproc.c
src/include/access/heapam.h
src/include/access/heapam_xlog.h [new file with mode: 0644]
src/include/access/htup.h
src/include/commands/explain.h
src/include/commands/prepare.h