X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=psycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2.psycopg1-module.html;fp=psycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2.psycopg1-module.html;h=f535cb9bf30df5a4bff14bbed7a247fb680a6784;hb=e5bdc26e1423689c0ab3204931335787737946ea;hp=0000000000000000000000000000000000000000;hpb=f8dd312990da7cc744e1c148bfd395c18492f3f1;p=plcapi.git diff --git a/psycopg2/doc/api/private/psycopg2.psycopg1-module.html b/psycopg2/doc/api/private/psycopg2.psycopg1-module.html new file mode 100644 index 0000000..f535cb9 --- /dev/null +++ b/psycopg2/doc/api/private/psycopg2.psycopg1-module.html @@ -0,0 +1,121 @@ + + + + + psycopg2.psycopg1 + + + + + + + + + + + + + + + + + + + +
+ + Package psycopg2 :: + Module psycopg1 +
+
+ + +
[show private | hide private]
[frames | no frames]
+ + +

Module psycopg2.psycopg1

+ +

psycopg 1.1.x compatibility module

+

This module uses the new style connection and cursor types to build a psycopg +1.1.1.x compatibility layer. It should be considered a temporary hack to run +old code while porting to psycopg 2. Import it as follows:

+
+from psycopg2 import psycopg1 as psycopg
+
+
+ + + + + + + + + +
Classes
+ connectionpsycopg 1.1.x connection.
+ cursorpsycopg 1.1.x cursor.

+ + + + + + + + +
Function Summary
new psycopg 1.1.x compatible connection objectconnect(dsn, + ...) +

+ + + + + + +
Function Details
+ + +
+

connect(dsn, + ...) +

+
+
Returns:
+
+new psycopg 1.1.x compatible connection object
+
+
+
+
+ + + + + + + + + + + + + + + + + + +
+ +