Received: from femail1.sdc1.sfba.home.com (femail1.sdc1.sfba.home.com [24.0.95.81]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f34IVt874122 for ; Wed, 4 Apr 2001 14:31:55 -0400 (EDT) (envelope-from allenwc@home.com) Received: from [24.69.192.186] by femail1.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010404183123.NAGU29689.femail1.sdc1.sfba.home.com@[24.69.192.186]>; Wed, 4 Apr 2001 11:31:23 -0700 Mime-Version: 1.0 X-Sender: allenwc@netmail.home.com Message-Id: In-Reply-To: <7929.986408434@sss.pgh.pa.us> References: <7929.986408434@sss.pgh.pa.us> Date: Wed, 4 Apr 2001 11:31:32 -0700 To: Tom Lane From: liam Subject: Re: Macintosh OS 9.1 front end C interface Cc: pgsql-interfaces@postgresql.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Archive-Number: 200104/14 X-Sequence-Number: 1397 At 2:20 PM -0400 4/4/01, Tom Lane wrote: >liam writes: >> Okay, I've done a bunch of munging and I've gotten libpq-fe.c to at >> least connect from Mac OS9.1 to the postgresql server. > >Cool. > >> Anyone done this already so I can go back to sleep? > >Not that I know of. > >> If not, what's my best approach? > >How extensive are the patches? It's too late for 7.1 but we might be >interested in adopting them for 7.2 ... I haven't patched the entire front end, only the PQconnectdb function works at the moment. Most of the changes involve replacing the standard Unix headers with their Mac counter parts. Some functions have to be written from scratch or ported from Unix, like strdup for example. The biggest source of pain is that Mac just doesn't have all the libraries that Unix does. Sigh. It is going to be a BIG job, which is why I was hoping someone else had done it already. Oh well, I guess I'll plod along. I'll build it as a CodeWarrior project for Mac with a target of "library" if that's alright? Any words of wisdom on best ways to do this? -- Later . . . 'liam allenwc@home.com William C Allen, BLS, EET "It may be that your sole purpose in life is to serve as a warning to others" At least I /have/ a purpose!