Widen tuple counter variables from long to int64
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hashsort.c | modified | +1 −1 |
| src/backend/access/nbtree/nbtsort.c | modified | +1 −1 |
Discussion
- "long" type is not appropriate for counting tuples 36 messages · 2019-04-28 → 2019-09-06