Re: WITH instead of USING on COPY?

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, 03/09/2008 alle 17.37 +1000, Alejandro Dubrovsky ha
scritto:
> Should psycopg2 switch from 
> 
> COPY %s%s TO stdout USING DELIMITERS '%s' WITH NULL AS '%s', ....
> 
> to something like:
> 
> COPY %s%s TO stdout WITH DELIMITERS '%s' NULL AS '%s', ...
> ?
> 
> The currently existing version is, from the Postgres documentation, the
> version used prior to 7.3.   It is still supported for straight table
> copies, but does not handle the case when copying from a query.

Yep, it probably should. I'll add that after making the release I
promised last week. (It's coming..)

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
               Do I know what a rhetorical question is? -- Homer Simpson

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

iEYEABECAAYFAki+RQoACgkQvcCgrgZGjeumlQCdFu13ch9+1NgNGfFlN+McG+29
T1AAoK7zozUWk/E4lOWanHxoP+ec7Hgy
=/S6n
-----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.