Re: [HACKERS] BeOS port
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] BeOS port |
Дата | |
Msg-id | 199906152209.SAA04289@candle.pha.pa.us обсуждение исходный текст |
Ответ на | BeOS port ("Cyril VELTER" <cyril@mail.micronet.fr>) |
Список | 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@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: