Re: fork/exec patch

From: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>, Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>, "'pgsql-patches(at)postgresql(dot)org'" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fork/exec patch
Date: 2003-12-14 22:10:36
Message-ID: Pine.LNX.4.44.0312142306560.10157-100000@zigo.dhs.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

On Sun, 14 Dec 2003, Bruce Momjian wrote:

> change to the code. We already have a GUC write of non-default values
> for exec and no one had issues with that. Of course, this one is
> per-backend.
>
> Yea, we could use shared memory for this too, but I don't see a problem
> with using the file system.

Why not use an anonymous pipe to send data from the parent to the child
process? That is a common way to handle this problem in win32 (and in unix
by the way). The parent sets up the pipe and the child process inherits
the handle, and after that the child and parent can excange information in
private.

--
/Dennis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-12-14 22:21:48 Re: fork/exec patch
Previous Message Bruce Momjian 2003-12-14 22:07:53 Re: [PATCHES] fork/exec patch

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2003-12-14 22:21:48 Re: fork/exec patch
Previous Message Bruce Momjian 2003-12-14 22:07:53 Re: [PATCHES] fork/exec patch

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-12-14 22:21:48 Re: fork/exec patch
Previous Message Bruce Momjian 2003-12-14 21:56:42 Re: [PATCHES] fork/exec patch