Re: *_collapse_limit, geqo_threshold

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org, "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>, "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Dimitri Fontaine" <dim(at)hi-media(dot)com>
Subject: Re: *_collapse_limit, geqo_threshold
Date: 2009-07-11 16:47:10
Message-ID: 20463.1247330830@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> On Saturday 11 July 2009 18:23:59 Tom Lane wrote:
>> So far as I can find in a quick google search, neither of these families
>> of functions exist on Windows :-(. So I think maybe the best approach
>> is the second one --- we could implement a port/ module that provides a
>> version of whichever drand48 function we need.

> It would be possible to implement random_r the same way if we are going to
> write something for windows anyway - Is it possible that it might be usefull
> somewhere else?

I think a decent version of random_r would be more work than it's worth.

(In practice we'd probably just lift the module from one of the BSDen
anyway, so maybe "work" is the wrong measure here, but code size is
still relevant.)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kenneth Marshall 2009-07-11 17:28:30 Re: *_collapse_limit, geqo_threshold
Previous Message Andres Freund 2009-07-11 16:43:19 Re: *_collapse_limit, geqo_threshold