postgresql-7.2b3-betterquote.patch

Started by Elliot Leeover 24 years ago3 messageshackers
Jump to latest
#1Elliot Lee
sopwith@redhat.com

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", (myblahlist,))

Please consider incorporating this patch into postgresql,
-- Elliot

Attachments:

postgresql-7.2b3-betterquote.patchtext/plain; CHARSET=US-ASCII; NAME=postgresql-7.2b3-betterquote.patchDownload+173-25
#2Bruce Momjian
bruce@momjian.us
In reply to: Elliot Lee (#1)
Re: postgresql-7.2b3-betterquote.patch

This has been saved for the 7.3 release:

http://candle.pha.pa.us/cgi-bin/pgpatches2

---------------------------------------------------------------------------

Elliot Lee wrote:

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", (myblahlist,))

Please consider incorporating this patch into postgresql,
-- Elliot

Content-Description:

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#3Bruce Momjian
bruce@momjian.us
In reply to: Elliot Lee (#1)
Re: postgresql-7.2b3-betterquote.patch

Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

Elliot Lee wrote:

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", (myblahlist,))

Please consider incorporating this patch into postgresql,
-- Elliot

Content-Description:

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026