From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Cyril VELTER <cyril(at)mail(dot)micronet(dot)fr> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] BeOS port |
Date: | 1999-06-15 22:09:16 |
Message-ID: | 199906152209.SAA04289@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
[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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Cyril VELTER | 1999-06-15 23:43:31 | BeOS port |
Previous Message | Jeff MacDonald | 1999-06-15 21:55:21 | Re: [HACKERS] Less then 12hrs since release ... |