diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-05-10 09:55:48 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-05-10 09:55:48 +0300 |
commit | 60a3dffb724c49c60d9ba921929bfa49ec21dd00 (patch) | |
tree | 6609fe9653f1ac18dda8cc6d3321fdbf847baef1 /src | |
parent | b58bacdacbb15948cf24c786ebbb92213a2fe013 (diff) | |
download | postgresql-60a3dffb724c49c60d9ba921929bfa49ec21dd00.tar.gz postgresql-60a3dffb724c49c60d9ba921929bfa49ec21dd00.zip |
Fix outdated comment.
Multi-insert records observe XLOG_HEAP_INIT_PAGE flag too, as Andres Freund
pointed out.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/access/htup.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/access/htup.h b/src/include/access/htup.h index 8f65428ac4b..39213ff849b 100644 --- a/src/include/access/htup.h +++ b/src/include/access/htup.h @@ -593,15 +593,15 @@ typedef HeapTupleData *HeapTuple; #define XLOG_HEAP_OPMASK 0x70 /* - * When we insert 1st item on new page in INSERT/UPDATE - * we can (and we do) restore entire page in redo + * When we insert 1st item on new page in INSERT, UPDATE, HOT_UPDATE, + * or MULTI_INSERT, we can (and we do) restore entire page in redo */ #define XLOG_HEAP_INIT_PAGE 0x80 /* * We ran out of opcodes, so heapam.c now has a second RmgrId. These opcodes * are associated with RM_HEAP2_ID, but are not logically different from - * the ones above associated with RM_HEAP_ID. We apply XLOG_HEAP_OPMASK, - * although currently XLOG_HEAP_INIT_PAGE is not used for any of these. + * the ones above associated with RM_HEAP_ID. XLOG_HEAP_OPMASK applies to + * these, too. */ #define XLOG_HEAP2_FREEZE 0x00 #define XLOG_HEAP2_CLEAN 0x10 |