Re: psycopg2 adaptation for UUIDs

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, 16/09/2008 alle 10.51 +0200, Brian Sutherland ha scritto:
> Seeing as both PostgreSQL 8.3 and python 2.5 support the UUID data type,
> I thought it might be a good feature if psycopg2 supported them natively
> as well. (don't know what project policy is on this)
> 
> This is the code I am using to be able to put UUID object into and get
> them out of PostgreSQL:

Nice. I'll include something along those lines in psycopg2/extras soon.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
 If a process is potentially good, but 90%+ of the time smart and
  well-intentioned people screw it up, then it's a bad process.
                                                          -- Steve Yegge

_______________________________________________
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)

iEYEABECAAYFAkjPfu0ACgkQvcCgrgZGjeurVwCdFSrS4B1X3tzVYz4o9j76V7iZ
TWcAnRDYdO82JErAunihSqV556b5vRs9
=TXSY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.