pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: liam <allenwc@home.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Macintosh OS 9.1 front end C interface
Date: Wed, 4 Apr 2001 11:31:32 -0700
Message-ID: <a05010406b6f1173e7336@[24.69.192.186]> (raw)
In-Reply-To: <7929.986408434@sss.pgh.pa.us>
References: <a05010402b6f10ccfffc7@[24.69.192.186]>
	<7929.986408434@sss.pgh.pa.us>

At 2:20 PM -0400 4/4/01, Tom Lane wrote:
>liam <allenwc@home.com> 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!



view thread (4+ messages)  latest in thread

Message-ID: <a05010406b6f1173e7336@[24.69.192.186]>
Permalink:  ../a05010406b6f1173e7336@%5B24.69.192.186%5D/
Also on:    postgresql.org/message-id/a05010406b6f1173e7336@[24.69.192.186]

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: allenwc@home.com, tgl@sss.pgh.pa.us
  Subject: Re: Macintosh OS 9.1 front end C interface
  In-Reply-To: <a05010406b6f1173e7336@[24.69.192.186]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox