Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60a3dff

Browse files
committed
Fix outdated comment.
Multi-insert records observe XLOG_HEAP_INIT_PAGE flag too, as Andres Freundpointed out.
1 parentb58bacd commit60a3dff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/include/access/htup.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -593,15 +593,15 @@ typedef HeapTupleData *HeapTuple;
593593

594594
#defineXLOG_HEAP_OPMASK0x70
595595
/*
596-
* When we insert 1st item on new page in INSERT/UPDATE
597-
* we can (and we do) restore entire page in redo
596+
* When we insert 1st item on new page in INSERT,UPDATE, HOT_UPDATE,
597+
*or MULTI_INSERT,we can (and we do) restore entire page in redo
598598
*/
599599
#defineXLOG_HEAP_INIT_PAGE0x80
600600
/*
601601
* We ran out of opcodes, so heapam.c now has a second RmgrId.These opcodes
602602
* are associated with RM_HEAP2_ID, but are not logically different from
603-
* the ones above associated with RM_HEAP_ID.We apply XLOG_HEAP_OPMASK,
604-
*although currently XLOG_HEAP_INIT_PAGE is not used for any ofthese.
603+
* the ones above associated with RM_HEAP_ID.XLOG_HEAP_OPMASK applies to
604+
* these, too.
605605
*/
606606
#defineXLOG_HEAP2_FREEZE0x00
607607
#defineXLOG_HEAP2_CLEAN0x10

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp