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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Add erand48() to the set of functions supported by our src/port/
Date
Msg-id 20090716174352.F065075331E@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: dim@pgfoundry.org (User Dim)
Date:
Subject: hstore-new - debian: Imported Sources
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Make GEQO's planning deterministic by having it start from a