Re: [PDO-Users]psycopg support as well as pgdb
pythondbo-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Wed, 19 Nov 2003 16:56:29 -0500
| Newsgroups | gmane.comp.python.db.pdo.user |
|---|---|
| Message-ID | <[email protected]> |
> You should be able to just copy the lines for pg and change pg
> to psycopg in the new lines, and off you run.
I did that against 1.21, and tested it. Here are the lines to merge, if
you would.
# Supports: #
# MySQLdb #
# pgdb #
# psycopg #
# PySQLite #
con_required['pgdb'] = ['user','password','database']
con_required['psycopg'] = ['user','password','database']
con_defaults['pgdb'] = {}
con_defaults['psycopg'] = {}
con_rename['pgdb'] = {}
con_rename['psycopg'] = {}
con_rename['pgdb']['passwd'] = "password"
con_rename['pgdb']['db'] = "database"
con_rename['psycopg']['passwd'] = "password"
con_rename['psycopg']['dbname'] = "database"
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/