Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 132a1c1

Browse files
committed
tableam: Fix index_build_range_scan parameter name.
All of the other code thinks that the 8th parameter is the number of blocks, but this declaration thinks that it's the ending block number. Repair this inconsistency. Patch by me, reviewed by Andres Freund. Discussion: http://postgr.es/m/CA+TgmoY49ManQWnJtiwkuytXBkmyTuDFqb74Pr4Zn2Nq9TuNBQ@mail.gmail.com
1 parent 33a5313 commit 132a1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/access/tableam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ typedef struct TableAmRoutine
543543
bool anyvisible,
544544
bool progress,
545545
BlockNumber start_blockno,
546-
BlockNumber end_blockno,
546+
BlockNumber numblocks,
547547
IndexBuildCallback callback,
548548
void *callback_state,
549549
TableScanDesc scan);

0 commit comments

Comments
 (0)