diff options
author | Robert Haas <rhaas@postgresql.org> | 2019-06-10 20:04:44 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2019-06-10 20:04:48 -0400 |
commit | 132a1c101a205ee52ec7d731abcb8593a6354097 (patch) | |
tree | 40d32d2d094ffc2936515f1117dee647cec93507 /src | |
parent | 33a53130a89447e171a8268ae0b221bb48af6468 (diff) | |
download | postgresql-132a1c101a205ee52ec7d731abcb8593a6354097.tar.gz postgresql-132a1c101a205ee52ec7d731abcb8593a6354097.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/include/access/tableam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h index 585c120e188..fd07773b74f 100644 --- a/src/include/access/tableam.h +++ b/src/include/access/tableam.h @@ -543,7 +543,7 @@ typedef struct TableAmRoutine bool anyvisible, bool progress, BlockNumber start_blockno, - BlockNumber end_blockno, + BlockNumber numblocks, IndexBuildCallback callback, void *callback_state, TableScanDesc scan); |