[PEAK] Adding psycopg support to PEAK
John Landahl
john at landahl.org
Wed Nov 12 01:40:46 EST 2003
On Mon, 10 Nov 2003 16:11:34 -0500, Phillip J. Eby <pje at telecommunity.com>
wrote:
> At 08:14 PM 11/9/03 +1100, Victor Ng wrote:
>
>> How do I go about setting up a peak.ini file to use pyscopg (or
>> pyPgSQL) instead of pgdb? I'd like to use pyscopg because I seem to
>> get much better performance out of that particular database driver.
>
> No need to do that. Simply subclass the driver and specify a different
> DRIVER = setting, then add an .ini entry to support your new driver with
> an appropriate URL scheme.
I gave this a go, and published my results on the Wiki at:
http://peak.telecommunity.com/DevCenter/AddingPsycopgSupport
Let me know if you run into any problems.
More information about the PEAK
mailing list