8000 Update ptrack.c · postgrespro/ptrack@820380a · GitHub
[go: up one dir, main page]

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

Appearance settings

Commit 820380a

Browse files
Update ptrack.c
Co-authored-by: Sokolov Yura <funny.falcon@gmail.com>
1 parent a34e6c3 commit 820380a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ptrack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ ptrack_get_pagemapset(PG_FUNCTION_ARGS)
502502
XLogRecPtr update_lsn2;
503503

504504
/* Stop traversal if there are no more segments */
505-
if (ctx->bid.blocknum + 1 > ctx->relsize)
505+
if (ctx->bid.blocknum >= ctx->relsize)
506506
{
507507
/* We completed a segment and there is a bitmap to return */
508508
if (pagemap.bitmap != NULL)

0 commit comments

Comments
 (0)
0