Skip site navigation (1) Skip section navigation (2)

Re: postgresql-7.2b3-betterquote.patch

From: Elliot Lee <sopwith(at)redhat(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: postgresql-7.2b3-betterquote.patch
Date: 2002-01-17 23:25:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
On Thu, 17 Jan 2002, Tom Lane wrote:

> Elliot Lee <sopwith(at)redhat(dot)com> writes:
> > This patch to the python bindings adds C versions of the often-used query
> > args quoting routines, as well as support for quoting lists e.g.
> > dbc.execute("SELECT * FROM foo WHERE blah IN %s", ([1,2,3],))
> > Please consider incorporating this patch into postgresql 7.2,
> Sorry, it's far too late for feature additions to 7.2.  We can hold
> onto this for 7.3, though.
> Documentation additions to go with the code additions would be a useful
> thing to work on in the meantime ;-)

It's not a new feature, so there's no documentation to give - it's all
making the existing API behave as expected...

The C versions are more likely to contain bugs, but even they are not new
features (go look at the profile on any DB-intensive app and then tell me
that _quote being slow is not a bug :)

-- Elliot

In response to

pgsql-patches by date

Next:From: Peter EisentrautDate: 2002-01-18 05:17:57
Subject: Re: [PATCHES] guc
Previous:From: Bruce MomjianDate: 2002-01-17 23:12:21
Subject: Re: [PATCHES] guc

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group