Python, MacOSX & PostgreSQL - Mailing list pgsql-novice

From Nathan Wilson
Subject Python, MacOSX & PostgreSQL
Date
Msg-id Pine.GSO.3.95.1020104093218.4727D-100000@hollywood.cinenet.net
Whole thread Raw
In response to Re: cast int to float  (Frank Bax <fbax@sympatico.ca>)
Responses Re: Python, MacOSX & PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Is anyone else out there trying to get this combo to work?  Anyone know
anyone who might be working on this combo?

I got all the pieces compiled (Python 2.2b3, MacOSX 10.1, PostgreSQL
7.2b3, mx.DateTime 2.0.2).  Python and PostgreSQL are both working, but
when I try to connect to the DB from Python I get 'Connection refused' and
it asks if the server is accepting TCP/IP connections on port 5432.  If I
give psql that as the explicit port it does just fine.  I also tried
moving to a different port and changing the call to _pg.connect, but still
no joy.  Again psql does just fine.  BTW, I built Python as a Framework.

I've downloaded new latest and greatest (Python 2.2, MacOSX 10.1.2,
PostgreSQL 7.2b4, mx.DateTime 2.0.3), but I'm not terribly hopefully.

Oh, one other note, I have confirmed that python can handle sockets
by setting up pydoc as an http server and accessing it from Netscape.

Any suggestions are most welcome.

Thanks!
-Nathan



pgsql-novice by date:

Previous
From: Jason Earl
Date:
Subject: Re: Creating db from sql script file
Next
From: Tom Lane
Date:
Subject: Re: Python, MacOSX & PostgreSQL