aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/gistxlog.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-03-22 17:59:19 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-03-22 17:59:19 +0200
commitb5fd4972a3bc758c0b8e8c9cd4aa32bacdeb6605 (patch)
treee487a493b2d3883bc4cbe15b0163400731944290 /src/include/access/gistxlog.h
parent638db07814f389e739b2cfde01b592aa9150b1be (diff)
downloadpostgresql-b5fd4972a3bc758c0b8e8c9cd4aa32bacdeb6605.tar.gz
postgresql-b5fd4972a3bc758c0b8e8c9cd4aa32bacdeb6605.zip
Fix yet more portability bugs in integerset and its tests.
There were more large constants that needed UINT64CONST. And one variable was declared as "int", when it needed to be uint64. These bugs were only visible on 32-bit systems; clearly I should've tested on one, given that this code does a lot of work with 64-bit integers. Also, in the test "huge distances" test, the code created some values with random distances between them, but the test logic didn't take into account the possibility that the random distance was exactly 1. That never actually happens with the seed we're using, but let's be tidy.
Diffstat (limited to 'src/include/access/gistxlog.h')
0 files changed, 0 insertions, 0 deletions