[Modeling-cvs] ProjectModeling/Modeling/DatabaseAdaptors/PostgresqlAdaptorLayer __init__.py,1.2,1.3
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@us...> - 2003-08-03 11:10:52
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/DatabaseAdaptors/PostgresqlAdaptorLayer In directory sc8-pr-cvs1:/tmp/cvs-serv26209/DatabaseAdaptors/PostgresqlAdaptorLayer Modified Files: __init__.py Log Message: Updated docstring Index: __init__.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/DatabaseAdaptors/PostgresqlAdaptorLayer/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** __init__.py 27 Jan 2003 16:21:17 -0000 1.2 --- __init__.py 3 Aug 2003 11:10:50 -0000 1.3 *************** *** 27,36 **** This package is for use by the core to interact with PostgreSQL databases. ! Two different low-level DB-adaptors, conforming to the python DB-API 2.0, ! can be used: - 'psycopg', if available, will be used, ! - otherwise, 'pgdb' is used. """ --- 27,52 ---- This package is for use by the core to interact with PostgreSQL databases. ! Three different low-level DB-adaptors, conforming to the python DB-API 2.0, ! can be used, and by default theyu are searched in the following order: - 'psycopg', if available, will be used, ! - then 'pygresql' (pgdb), if available, is used, ! ! - otherwise, 'PyPgSQL' is searched and used. ! ! If more than one of these adaptors are installed, you can set the ! environment variable 'MDL_PREFERRED_PYTHON_POSTGRESQL_ADAPTOR' to either ! 'psycopg', 'pgdb' or 'pypgsql' to indicate your preference. ! ! Model & Connection Dictionaries: ! ! 'adaptorName' -- should be 'Postgresql' ! ! 'database' -- the name of the database ! ! 'host' -- where the pg server is hosted ! ! 'user', 'password' -- user credentials """ |