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

Commit8a815e3

Browse files
committed
Move comment about test slightly closer to test.
The addition of a TestForOldSnapshot() call here has made thereferent of this comment slightly less clear, so move the commentto compensate.Amit Kapila (as part of the parallel index scan patch)
1 parent2f5c9d9 commit8a815e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/nbtree/nbtsearch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,10 +1345,10 @@ _bt_steppage(IndexScanDesc scan, ScanDirection dir)
13451345
CHECK_FOR_INTERRUPTS();
13461346
/* step right one page */
13471347
so->currPos.buf=_bt_getbuf(rel,blkno,BT_READ);
1348-
/* check for deleted page */
13491348
page=BufferGetPage(so->currPos.buf);
13501349
TestForOldSnapshot(scan->xs_snapshot,rel,page);
13511350
opaque= (BTPageOpaque)PageGetSpecialPointer(page);
1351+
/* check for deleted page */
13521352
if (!P_IGNORE(opaque))
13531353
{
13541354
PredicateLockPage(rel,blkno,scan->xs_snapshot);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp