[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> 	Hi alls
> 
> 	I'm working on a port of postgres on BeOS (www.be.com). BeOS is not 
> a real UNIX, but it provide a subset of the posix API. At this stage 
> I've a working version ofit. But since 6.4.2, I've a lot of problems 
> (dynamic loading doesn't work any more...) with the fact that 
> postgresmain is call directly instead of the old exec method. BeOS 
> really don't like to do a lot of thing after a fork and before an exec 
> :=(. 
> 	I would like to know how hard it would be to add the exec call. As 
> I understand it, I have to get back all global variables and shared 
> memory and perhaps doing something with sockets/file descriptors ? I've 
> a ready solution for shared memory but I need some help regarding the 
> others points.

You can put back the exec fairly easily.  You just need to pass the
proper parameters, and change the fork to an exec.  You can look at the
older code that did the exec for an example, and #ifdef the exec() back
into the code.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Tue, 15 Jun 1999 18:09:16 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] BeOS port
	Hi alls

	I'm working on a port of postgres on BeOS (www.be.com). BeOS is not 
a real UNIX, but it provide a subset of the posix API. At this stage 
I've a working version ofit. But since 6.4.2, I've a lot of problems 
(dynamic loading doesn't work any more...) with the fact that 
postgresmain is call directly instead of the old exec method. BeOS 
really don't like to do a lot of thing after a fork and before an exec 
:=(. 
	I would like to know how hard it would be to add the exec call. As 
I understand it, I have to get back all global variables and shared 
memory and perhaps doing something with sockets/file descriptors ? I've 
a ready solution for shared memory but I need some help regarding the 
others points.

	Any will really help me.

		cyril

Tue, 15 Jun 1999 23:43:31 CEST
"Cyril VELTER" <cyril@mail.micronet.fr>
BeOS port