Python, MacOSX & PostgreSQL

Поиск
Список
Период
Сортировка
От Nathan Wilson
Тема Python, MacOSX & PostgreSQL
Дата
Msg-id Pine.GSO.3.95.1020104093218.4727D-100000@hollywood.cinenet.net
обсуждение исходный текст
Ответ на Re: cast int to float  (Frank Bax <fbax@sympatico.ca>)
Ответы Re: Python, MacOSX & PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Jason Earl
Дата:
Сообщение: Re: Creating db from sql script file
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Python, MacOSX & PostgreSQL