Re: Type registration per-connection.
Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Organization | initd.org |
| Message-ID | <[email protected]> |
Il giorno mar, 05/08/2008 alle 14.49 -0400, David ha scritto: > According to ticket #44, type_registration is (as of version 2.0.6) on > a per-connection basis. > Is this actually so? The register_type function is still a function > with one parameter, so how are the type registrations associated with > a particular connection? psycopg2.register_type() takes an optional parameter: the cursor or connection on which you want to register the new type. federico -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer [email protected] INIT.D Developer fog-NGVKUo/i/[email protected] La mia nuova versione del mondo prevede una consapevolezza distribuita e insapore. -- sisterconfusion _______________________________________________ Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/psycopg
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkiZdtkACgkQvcCgrgZGjevCvgCgiergeMjhLwlHh19z0LSzxV+7 GawAnRKB/6Ub/Rsnf2w6m7FLOebd8tH1 =ERIN -----END PGP SIGNATURE-----