Re: [HACKERS] [WIP] Zipfian distribution in pgbench

Alik Khilazhev <a.khilazhev@postgrespro.ru>

From: Alik Khilazhev <a.khilazhev@postgrespro.ru>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2017-11-20T20:52:52Z
Lists: pgsql-hackers

Attachments

> I would suggest to use [1, 9] and the simpler regex [1-9] instead of the full list.
> 
> Also, there should be an empty line between functions. I just noticed that one is missing after zipfFindOrCreateCacheCell().

Fixed.

Commits

  1. Add approximated Zipfian-distributed random generator to pgbench.