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

From Bruce Momjian
Subject Re: fork/exec
Date
Msg-id 200311282142.hASLgAL13880@candle.pha.pa.us
Whole thread Raw
In response to 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:
> > 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.
>
> However, the child process needs the secret for long enough to send it
> off to the client at the completion of the authentication handshake.
> So there is a problem to resolve here.

Oh, yea, so they do both need it.  Good point.

--
  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: Bruce Momjian
Date:
Subject: Re: SRA Win32 sync() code