Re: rand48 replacement

Поиск
Список
Период
Сортировка
Искать
От
Fabien COELHO
Тема
Re: rand48 replacement
Дата
Msg-id
alpine.DEB.2.22.394.2109260742571.3216312@pseudo
Ответ на
Re: rand48 replacement (Fabien COELHO)
Список
Дерево обсуждения
rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Aleksander Alekseev <aleksander@timescale.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Aleksander Alekseev <aleksander@timescale.com>
Re: rand48 replacement Aleksander Alekseev <aleksander@timescale.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Tom Lane <tgl@sss.pgh.pa.us>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Tom Lane <tgl@sss.pgh.pa.us>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Dean Rasheed <dean.a.rasheed@gmail.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Dean Rasheed <dean.a.rasheed@gmail.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Yura Sokolov <y.sokolov@postgrespro.ru>
Re: rand48 replacement Tom Lane <tgl@sss.pgh.pa.us>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Dean Rasheed <dean.a.rasheed@gmail.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Dean Rasheed <dean.a.rasheed@gmail.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Dean Rasheed <dean.a.rasheed@gmail.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Yura Sokolov <y.sokolov@postgrespro.ru>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Yura Sokolov <y.sokolov@postgrespro.ru>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Yura Sokolov <y.sokolov@postgrespro.ru>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Aleksander Alekseev <aleksander@timescale.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Tom Lane <tgl@sss.pgh.pa.us>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Thomas Munro <thomas.munro@gmail.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Aleksander Alekseev <aleksander@timescale.com>
Re: rand48 replacement Tom Lane <tgl@sss.pgh.pa.us>
Re: rand48 replacement Tom Lane <tgl@sss.pgh.pa.us>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Tom Lane <tgl@sss.pgh.pa.us>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Tom Lane <tgl@sss.pgh.pa.us>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Dean Rasheed <dean.a.rasheed@gmail.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Dean Rasheed <dean.a.rasheed@gmail.com>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>
Re: rand48 replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: rand48 replacement Fabien COELHO <coelho@cri.ensmp.fr>

>> Just FTR, I strongly object to your removal of process-startup srandom()
>> calls.
>
> Ok. The point of the patch is to replace and unify the postgres underlying 
> PRNG, so there was some logic behind this removal.

FTR, this was triggered by your comment on Jul 1:

>> [...] I see that you probably did that because random.c and srandom.c 
>> depend on it, but I wonder why we don't make an effort to flush those 
>> altogether.  It's surely pretty confusing to newbies that what appears 
>> to be a call of the libc primitives is no such thing.

I understood "flushing s?random.c" as that it would be a good thing to 
remove their definitions, hence their calls, whereas in the initial patch 
I provided a replacement for srandom & random.

-- 
Fabien.


В списке pgsql-hackers по дате отправления
От: Dilip Kumar
Дата:
От: wangsh.fnst@fujitsu.com
Дата:
FAQ