Re: fork/exec - Mailing list pgsql-hackers-win32

From Bruce Momjian
Subject Re: fork/exec
Date
Msg-id 200311282124.hASLOMc11067@candle.pha.pa.us
Whole thread Raw
In response to Re: fork/exec  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: fork/exec  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers-win32
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > The random seed value is unique per-backend, and we want to keep it
> > secure so we can't pass it on the command line.  I am not sure how to
> > deal with that.
>
> Uh, you mean the cancel key?  There's no need for the random() seed per
> se to be shared between postmaster and backend, AFAICS.

Oh, good.  I couldn't remember if it was the postmaster or child that
validates that key.  I now remember only the postmaster needs the secret
because it sends the signal.  Not sure what random seed Claudio was
asking about.  Probably GUC's "seed" parameter --- Claudio, that is
already covered in that GUC binary file I create that I mentioned in an
earlier email.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: fork/exec
Next
From: Tom Lane
Date:
Subject: Re: fork/exec