pgsql: Add erand48() to the set of functions supported by our src/port/

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add erand48() to the set of functions supported by our src/port/
Date: 2009-07-16 17:43:52
Message-ID: 20090716174352.F065075331E@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add erand48() to the set of functions supported by our src/port/ library,
and extend configure to test for it properly instead of hard-wiring
an assumption that everybody but Windows has the rand48 functions.
(We do cheat to the extent of assuming that probing for erand48 will do
for the entire rand48 family.)

erand48() is unused as of this commit, but a followon patch will cause
GEQO to depend on it.

Andres Freund, additional hacking by Tom

Modified Files:
--------------
pgsql:
configure (r1.648 -> r1.649)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.648&r2=1.649)
configure.in (r1.604 -> r1.605)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure.in?r1=1.604&r2=1.605)
pgsql/src/include:
pg_config.h.in (r1.140 -> r1.141)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.in?r1=1.140&r2=1.141)
port.h (r1.125 -> r1.126)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h?r1=1.125&r2=1.126)
pgsql/src/tools/msvc:
Mkvcbuild.pm (r1.40 -> r1.41)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Mkvcbuild.pm?r1=1.40&r2=1.41)

Added Files:
-----------
pgsql/src/port:
erand48.c (r1.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/erand48.c?rev=1.1&content-type=text/x-cvsweb-markup)

Removed Files:
-------------
pgsql/src/port:
rand.c
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/rand.c)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-07-16 20:55:45 pgsql: Make GEQO's planning deterministic by having it start from a
Previous Message User Dim 2009-07-16 14:04:40 hstore-new - debian: Imported Sources