Re: [PERFORM] pgbench to the MAXINT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PERFORM] pgbench to the MAXINT
Дата
Msg-id 25309.1297870831@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PERFORM] pgbench to the MAXINT  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-hackers
Greg Smith <greg@2ndquadrant.com> writes:
> Given that pgbench will run with threads in some multi-worker 
> configurations, after some more portability research I think odds are 
> good we'd get nailed by 
> http://sourceware.org/bugzilla/show_bug.cgi?id=10320 : "erand48 
> implementation not thread safe but POSIX says it should be".  The AIX 
> docs have a similar warning on them, so who knows how many versions of 
> that library have the same issue.

FWIW, I think that bug report is effectively complaining that if you use
both drand48 and erand48, the former can impact the latter.  If you use
only erand48, I don't see that there's any problem.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: multiset patch review
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Sync Rep for 2011CF1