Re: The Axe list - Mailing list pgsql-hackers

From Tom Lane
Subject Re: The Axe list
Date
Msg-id 9358.1223827103@sss.pgh.pa.us
Whole thread Raw
In response to Re: The Axe list  ("D'Arcy J.M. Cain" <darcy@druid.net>)
List pgsql-hackers
"D'Arcy J.M. Cain" <darcy@druid.net> writes:
> On Sun, 12 Oct 2008 12:57:58 +0300
> "Marko Kreen" <markokr@gmail.com> wrote:
>> This is bad idea, postgres already does srandom()

> Is that new?  I added that to my local version at one time because I
> was getting the same salt every time I ran it.

Quite a while ago we went around and removed random calls to srandom.
In any case it is *not* acceptable to put one into a datatype, because
the effects are global.  If we did have a problem like that, the
appropriate solution would be elsewhere.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Hitoshi Harada"
Date:
Subject: Re: SELECT TOP %d PERCENT, or SELECT ... LIMIT %d PERCENT ?
Next
From: Magnus Hagander
Date:
Subject: Re: The Axe list