summaryrefslogtreecommitdiff
path: root/src/include/access/heapam.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2007-01-25 02:17:26 +0000
committerBruce Momjian <bruce@momjian.us>2007-01-25 02:17:26 +0000
commitef65f6f7a41220d578175a899fdd67b097767669 (patch)
tree47e7592f828af5327f20ea99150f70fabc63aa6c /src/include/access/heapam.h
parent693c85d954890ceb4f0a892cd12e718fb4902128 (diff)
downloadpostgresql-ef65f6f7a41220d578175a899fdd67b097767669.tar.gz
Prevent WAL logging when COPY is done in the same transation that
created it. Simon Riggs
Diffstat (limited to 'src/include/access/heapam.h')
-rw-r--r--src/include/access/heapam.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h
index eb78010906..3a68959957 100644
--- a/src/include/access/heapam.h
+++ b/src/include/access/heapam.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/heapam.h,v 1.119 2007/01/09 22:01:00 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/access/heapam.h,v 1.120 2007/01/25 02:17:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -178,6 +178,9 @@ extern void simple_heap_delete(Relation relation, ItemPointer tid);
extern void simple_heap_update(Relation relation, ItemPointer otid,
HeapTuple tup);
+extern Oid fast_heap_insert(Relation relation, HeapTuple tup, bool use_wal);
+
+
extern void heap_markpos(HeapScanDesc scan);
extern void heap_restrpos(HeapScanDesc scan);
@@ -236,4 +239,6 @@ extern MinimalTuple minimal_tuple_from_heap_tuple(HeapTuple htup);
extern HeapTuple heap_addheader(int natts, bool withoid,
Size structlen, void *structure);
+extern void heap_sync(Relation relation);
+
#endif /* HEAPAM_H */