We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34e6c3 commit 820380aCopy full SHA for 820380a
ptrack.c
@@ -502,7 +502,7 @@ ptrack_get_pagemapset(PG_FUNCTION_ARGS)
502
XLogRecPtr update_lsn2;
503
504
/* Stop traversal if there are no more segments */
505
- if (ctx->bid.blocknum + 1 > ctx->relsize)
+ if (ctx->bid.blocknum >= ctx->relsize)
506
{
507
/* We completed a segment and there is a bitmap to return */
508
if (pagemap.bitmap != NULL)
0 commit comments