> I checked it with this and another simple test program printing the
> result of a select statement, and both work fine for me.

How odd.

> What I do is adding the PostgreSQL bin directory (something like
> "C:\Program Files\PostgreSQL\8.2\bin") to the Windows PATH instead of
> copying the PostgreSQL dll's around. Can you try that?

Nope. I don't have the PostgreSQL package installed (copying the DLLs was
intended to avoid that), and the goal is to run this compiled executable
on a system that doesn't have Python or pgsql installed. So having an
executable with an outside dependency of the entire database installation
just wouldn't be acceptable for the customer.

I did come up with a method that worked. Basically, I bundle the entire
c:\Python25 and some registry entries (to point to the bundled Python)
into a InnoSetup program. This met their needs, since the disk space isn't
an issue, as much as the administrative oversight of installing additional
applications.


_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to