Fix portability bug in get_normal_pair (RAND_MAX != MAX_RANDOM_VALUE).
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 14 Sep 2002 19:32:54 +0000 (19:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 14 Sep 2002 19:32:54 +0000 (19:32 +0000)
commitd3ebc1ae4a9feee927c8fd6a6322364c2555e43d
tree4bb4cf8e00bf54ebfb53a2763b7020e19f20097b
parent49c86099f3bfde9f048f415a465f23ed6ac52d57
Fix portability bug in get_normal_pair (RAND_MAX != MAX_RANDOM_VALUE).
Also try to improve readability and performance.
contrib/tablefunc/tablefunc.c