Re: Updated patch to quote delimiter and null characters in copy_* functions

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <[email protected]>
Il giorno mer, 24/09/2008 alle 18.04 +1000, Alejandro Dubrovsky ha scritto:
> On Tue, 2008-09-23 at 15:34 +0200, Federico Di Gregorio wrote:
> > Il giorno mar, 23/09/2008 alle 14.38 +1000, Alejandro Dubrovsky ha scritto:
> > > This patch enlarges the default size of the copy buffer and also checks
> > > to see if the copy query got truncated.  ie copy_to(somefile, '(some
> > > long query)') is very handy and I went crazy with it until I broke the
> > > first patch.

I just pushed on trunk a version of Alejandro's patch the unifies string
quoting in qstring and cursor (copy_from/copy_to). All tests pass and
after integrating a coupleof other patches I'll do release. If someone
wants to check it before release, just clone from

http://initd.org/bazaar/psycopg/psycopg2/trunk/

Have fun,
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)

iEYEABECAAYFAkksQloACgkQvcCgrgZGjev5uACgszn98FD0R/729yFj8vk3XVRs
HbcAnj+QUOmzfPidnC3DCHQVgQJbhBk0
=nOAa
-----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.