Re: psycopg, datetime timestamps and intervals

"Matthew Dennis" <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On Sat, Apr 19, 2008 at 7:47 PM, Federico Di Gregorio <fog-NGVKUo/i/[email protected]> wrote:

> Il giorno sab, 19/04/2008 alle 20.09 +0200, Karsten Hilbert ha scritto:
> > On Sat, Apr 19, 2008 at 10:45:11AM +0200, Federico Di Gregorio wrote:
> >
> > > This is wrong. psycopg just does variable substitution.
> > Unfortunately. Any chance this will change ?
>
> Sincerely I don't know. Note that except for prepared statements there
> won't be any real gain because psycopg will need to adapt the values
> anyway.
>
>
 Except that the original example would work as it should and you would
avoid a whole class of SQL Injection attacks

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
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.