]> granicus.if.org Git - postgresql/commit
Widen tuple counter variables from long to int64
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 29 Apr 2019 18:15:19 +0000 (14:15 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 30 Apr 2019 14:27:38 +0000 (10:27 -0400)
commit9a83afecb7ec6e828b7dbef3133f3dd8b0b4dddb
tree71ab1b46fdcd76968fc401683576942576e81fbc
parent3dbb317d32f4f084ef7badaed8ef36f5c9b85fe6
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=WbNxc5ob5NJ9yqo2RMJ0q4HXDS30GVCobeCvC9A1L9A@mail.gmail.com
src/backend/access/hash/hashsort.c
src/backend/access/nbtree/nbtsort.c