pgsql/src/backend/postmaster (postmaster.c)

From: Tom Lane <tgl>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/postmaster (postmaster.c)
Date: 2000-08-07 00:51:38
Message-ID: 200008070051.e770pcN07354@hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Date: Sunday, August 6, 2000 @ 20:51:34
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/postmaster
from hub.org:/home/projects/pgsql/tmp/cvs-serv7210/src/backend/postmaster

Modified Files:
postmaster.c

----------------------------- Log Message -----------------------------

Clean up bogosities in use of random(3) and srandom(3) --- do not assume
that RAND_MAX applies to them, since it doesn't. Instead add a
config.h parameter MAX_RANDOM_VALUE. This is currently set at 2^31-1
but could be auto-configured if that ever proves necessary. Also fix
some outright bugs like calling srand() where srandom() is appropriate.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2000-08-07 00:51:43 pgsql/src/include/optimizer (geqo_random.h)
Previous Message Tom Lane 2000-08-07 00:51:30 pgsql/src/backend/optimizer/geqo (geqo_main.c)