Python PostgreSQL frontend for Win2K with MinGW32 ?
Gerhard Häring
gh at ghaering.de
Wed Aug 27 19:48:58 EDT 2003
Dave Haynes wrote:
> Hi,
>
> This is just as much a PostgreSQL question as a Python one, but here
> goes...
>
> I've been trying to port the psycopg interface to a Win2K client
> (server runs FreeBSD). I'm using MinGW32 rather than CygWin, and having
> trouble compiling the libpg library as a DLL. [...]
I'd recommend you statically link in libpq into your Python PostgreSQL
interface. That's what I'm doing for the win32 releases of pyPgSQL. I'm
also, like you, using mingw for these and I use this patch I created
many moons ago:
http://pypgsql.sourceforge.net/misc/postgresql.html
HTH,
-- Gerhard
More information about the Python-list
mailing list