Re: [PATCHES] Silly bug in pgbench's random number generator

2007-06-14 Thread Alexey Klyukin
(((max - min + 1) * (double) random()) / (MAX_RANDOM_VALUE + 1.0)); eliminating the result of max + 1 in a corner case when random() equals to MAX_RANDOM_VALUE. -- Alexey Klyukin http://www.commandprompt.com/ The PostgreSQL Company - Command Prompt, Inc. --

[PATCHES] bitmapscan changes patch review

2007-06-20 Thread Alexey Klyukin
.php I've made minor changes to the patch: - fixed all rejects when applying it to the current CVS head. - fixed counting ntids in gistnext if TIDBitmap is not null. - added missing expected/bitmapops.out It passes all regression tests on my system. Regards, -- Alexey Kl