Widen tuple counter variables from long to int64

Mistake in ab0dfc961b6a; progress reporting would have wrapped around
for indexes created with more than 2^31 tuples.

Reported-by: Peter Geoghegan
Discussion: 
https://postgr.es/m/CAH2-Wz=wbnxc5ob5nj9yqo2rmj0q4hxds30gvcobecvc9a1...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9a83afecb7ec6e828b7dbef3133f3dd8b0b4dddb

Modified Files
--------------
src/backend/access/hash/hashsort.c  | 2 +-
src/backend/access/nbtree/nbtsort.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Reply via email to