RE: [PDO-Users]psycopg support as well as pgdb
pythondbo-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Wed, 19 Nov 2003 19:48:52 -0500
| Newsgroups | gmane.comp.python.db.pdo.user |
|---|---|
| Message-ID | <[email protected]> |
Hey,
Thanks. In the next release of PDO, this will be put in.
How's it working out for you?
Bryan J Gudorf
~NeuroKode Labs, LLC
-----Original Message-----
From: pythondbo-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:pythondbo-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]
Sent: Wednesday, November 19, 2003 4:56 PM
To: pythondbo-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PDO-Users]psycopg support as well as pgdb
> 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/
_______________________________________________
Pythondbo-users mailing list
Pythondbo-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pythondbo-users
-------------------------------------------------------
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/