Re: [SQL] Python connection

2004-04-26 Thread Karsten Hilbert
a) this is the wrong mailing list for your question b) obviously, it doesn't like the "," part (and possibly the "host" part but that remains to be seen), try separating by ":" or just space or whatever libpq docs say c) any particular reason you don't use the Python DB API ? Karsten -- GPG

[SQL] Python connection

2004-04-25 Thread Michael Satterwhite
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Consider the following snippet from a Python module: from pyPGSQL import libpq cn = libpq.PQconnectdb("dbname='db', host='xxx'") At this point, I get the error: invalid connection option ", host If I'm reading the document