Обсуждение: RE: [GENERAL] Anyone doing a native NT port?
Yeah, That is pretty much the short of it. My greatest concern undertaking an effort like this is the resultant #ifdef/#else/#endif mess that I will need to make of the code. We do a lot of cross-platform development here and ultimately the code begins to look very ugly to anything except a preprocessor. The alternative is to put most of the nt-specific code in separate files, but then we would have to merge over the newer code from the CVS repository. It is not a job that I look forward to, but our unix customers are clamoring for PostGRE on the backend and our non-unix customers are not going to be satisfied with MySQL. Sucks to be me, I guess. Dave Heinecke Senior Software Engineer Axent Technologies -----Original Message----- From: Bruce Momjian [mailto:maillist@candle.pha.pa.us] Sent: Monday, September 27, 1999 10:47 AM To: David Heinecke Cc: pgsql-general@postgreSQL.org Subject: Re: [GENERAL] Anyone doing a native NT port? > Hello, > > My company is pretty impressed with postgre on unix, but we also need a > native port for nt (it is not an option to have our customers install cygwin > on their production systems.) Ideally we would like to see the backend > running as a native service under nt. We have the resources to do the port > ourselves (I will probably end up doing the work myself), but I was > wondering if there was already an effort underway to develop something like > this. Yikes, you want to run the PostgreSQL backend without Unix simulator support! Wow, that sounds like a big job. I know of no one who has done this. You can see from the FAQ item that people have running under U/Win too, but I that is a Unix emulator too. Seems like you would basically be writing another emulator for NT to do the things we do under Unix, no? -- 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
> Yeah, > > That is pretty much the short of it. My greatest concern undertaking an > effort like this is the resultant #ifdef/#else/#endif mess that I will need > to make of the code. We do a lot of cross-platform development here and > ultimately the code begins to look very ugly to anything except a > preprocessor. The alternative is to put most of the nt-specific code in > separate files, but then we would have to merge over the newer code from the > CVS repository. It is not a job that I look forward to, but our unix > customers are clamoring for PostGRE on the backend and our non-unix > customers are not going to be satisfied with MySQL. Sucks to be me, I > guess. But why re-invent all the work CygWin does? Why not use something that is modular, tested, and free? -- 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
Just curious, but why is using the CyWin stuff not an option? *raised eyebrow* On Mon, 27 Sep 1999, David Heinecke wrote: > Yeah, > > That is pretty much the short of it. My greatest concern undertaking an > effort like this is the resultant #ifdef/#else/#endif mess that I will need > to make of the code. We do a lot of cross-platform development here and > ultimately the code begins to look very ugly to anything except a > preprocessor. The alternative is to put most of the nt-specific code in > separate files, but then we would have to merge over the newer code from the > CVS repository. It is not a job that I look forward to, but our unix > customers are clamoring for PostGRE on the backend and our non-unix > customers are not going to be satisfied with MySQL. Sucks to be me, I > guess. > > Dave Heinecke > Senior Software Engineer > Axent Technologies > > -----Original Message----- > From: Bruce Momjian [mailto:maillist@candle.pha.pa.us] > Sent: Monday, September 27, 1999 10:47 AM > To: David Heinecke > Cc: pgsql-general@postgreSQL.org > Subject: Re: [GENERAL] Anyone doing a native NT port? > > > > Hello, > > > > My company is pretty impressed with postgre on unix, but we also need a > > native port for nt (it is not an option to have our customers install > cygwin > > on their production systems.) Ideally we would like to see the backend > > running as a native service under nt. We have the resources to do the > port > > ourselves (I will probably end up doing the work myself), but I was > > wondering if there was already an effort underway to develop something > like > > this. > > Yikes, you want to run the PostgreSQL backend without Unix simulator > support! Wow, that sounds like a big job. > > I know of no one who has done this. You can see from the FAQ item that > people have running under U/Win too, but I that is a Unix emulator too. > > Seems like you would basically be writing another emulator for NT to do > the things we do under Unix, no? > > -- > 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 > > ************ > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org