From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Split heapam_xlog.h from heapam.h |
Date: | 2012-08-28 23:09:17 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Modified Files
--------------
src/backend/access/gin/gininsert.c | 1 +
src/backend/access/heap/heapam.c | 1 +
src/backend/access/heap/pruneheap.c | 1 +
src/backend/access/heap/rewriteheap.c | 1 +
src/backend/access/heap/visibilitymap.c | 2 +-
src/backend/access/index/genam.c | 1 +
src/backend/access/nbtree/nbtree.c | 1 +
src/backend/access/nbtree/nbtsort.c | 1 +
src/backend/access/nbtree/nbtxlog.c | 1 +
src/backend/access/spgist/spginsert.c | 1 +
src/backend/access/transam/rmgr.c | 2 +-
src/backend/commands/tablecmds.c | 2 +-
src/backend/commands/vacuumlazy.c | 1 +
src/backend/executor/nodeSubplan.c | 1 +
src/backend/foreign/foreign.c | 1 +
src/backend/nodes/print.c | 1 +
src/backend/optimizer/prep/prepunion.c | 1 +
src/backend/optimizer/util/plancat.c | 1 +
src/backend/parser/parse_func.c | 1 +
src/backend/utils/adt/domains.c | 1 +
src/backend/utils/adt/regproc.c | 1 +
src/include/access/heapam.h | 22 ---
src/include/access/heapam_xlog.h | 264 +++++++++++++++++++++++++++++++
src/include/access/htup.h | 219 -------------------------
src/include/commands/explain.h | 1 +
src/include/commands/prepare.h | 1 +
26 files changed, 287 insertions(+), 244 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2012-08-29 03:02:35 | pgsql: Add strerror() string to chdir() error message |
Previous Message | Alvaro Herrera | 2012-08-28 22:06:30 | pgsql: Split resowner.h |