| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: join regression failure on cygwin |
| Date: | 2009-07-24 13:05:50 |
| Message-ID: | 4A69B1AE.1030502@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> I don't personally have a problem with just forcing use of our own
> erand48 on Cygwin; it's not a lot of code and it would make the behavior
> of that build more like the MSVC build. But it's curious that such a
> simple library function is seemingly broken on Cygwin ... especially
> when their random() and srandom() evidently work.
>
>
It appears on Googling a bit that the erand48() is buggy in that it
requires the seed to have been initialized with srand48() or it will
constantly return 0.0.
So I think just forcing use of ours is the safe way to go. It might have
been fixed since I installed Cygwin, although I can't find a reference
to that, and I don't feel like triangulating it anyway.
cheers
andrew
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Gould | 2009-07-24 13:10:26 | Re: When is a record NULL? |
| Previous Message | Alex Brasetvik | 2009-07-24 11:53:14 | Re: join removal |