Commit 132a1c10 authored by Robert Haas's avatar Robert Haas

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
parent 33a53130
...@@ -543,7 +543,7 @@ typedef struct TableAmRoutine ...@@ -543,7 +543,7 @@ typedef struct TableAmRoutine
bool anyvisible, bool anyvisible,
bool progress, bool progress,
BlockNumber start_blockno, BlockNumber start_blockno,
BlockNumber end_blockno, BlockNumber numblocks,
IndexBuildCallback callback, IndexBuildCallback callback,
void *callback_state, void *callback_state,
TableScanDesc scan); TableScanDesc scan);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment