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 ed1b1ee commit 1c61fd8Copy full SHA for 1c61fd8
contrib/pg_visibility/pg_visibility.c
@@ -490,6 +490,7 @@ collect_visibility_data(Oid relid, bool include_pd)
490
BlockNumber blkno;
491
Buffer vmbuffer = InvalidBuffer;
492
BufferAccessStrategy bstrategy = GetAccessStrategy(BAS_BULKREAD);
493
+ BlockRangeReadStreamPrivate p;
494
ReadStream *stream = NULL;
495
496
rel = relation_open(relid, AccessShareLock);
@@ -505,8 +506,6 @@ collect_visibility_data(Oid relid, bool include_pd)
505
506
/* Create a stream if reading main fork. */
507
if (include_pd)
508
{
- BlockRangeReadStreamPrivate p;
509
-
510
p.current_blocknum = 0;
511
p.last_exclusive = nblocks;
512
stream = read_stream_begin_relation(READ_STREAM_FULL,
0 commit comments