summaryrefslogtreecommitdiff
path: root/src/include/access/hio.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-20 18:37:02 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-20 18:37:02 +0000
commitb95ae32b4178959e8880bd716fb33ec163f61713 (patch)
tree316fdc43f11fb9f859d4d9721287f85b9b44db68 /src/include/access/hio.h
parent1bfdd1a89321c390201ebe15fe47571f54f9c80a (diff)
downloadpostgresql-b95ae32b4178959e8880bd716fb33ec163f61713.tar.gz
Avoid WAL-logging individual tuple insertions during CREATE TABLE AS
(a/k/a SELECT INTO). Instead, flush and fsync the whole relation before committing. We do still need the WAL log when PITR is active, however. Simon Riggs and Tom Lane.
Diffstat (limited to 'src/include/access/hio.h')
-rw-r--r--src/include/access/hio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/hio.h b/src/include/access/hio.h
index 49091eb202..e706fea4ca 100644
--- a/src/include/access/hio.h
+++ b/src/include/access/hio.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/hio.h,v 1.27 2004/12/31 22:03:21 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/access/hio.h,v 1.28 2005/06/20 18:37:01 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,6 +19,6 @@
extern void RelationPutHeapTuple(Relation relation, Buffer buffer,
HeapTuple tuple);
extern Buffer RelationGetBufferForTuple(Relation relation, Size len,
- Buffer otherBuffer);
+ Buffer otherBuffer, bool use_fsm);
#endif /* HIO_H */