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

Re: postgresql-7.2b3-betterquote.patch

From: Elliot Lee <sopwith(at)redhat(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: postgresql-7.2b3-betterquote.patch
Date: 2002-03-12 20:34:30
Message-ID: Pine.LNX.4.44.0203121531140.26113-200000@devserv.devel.redhat.com (view raw or flat)
Thread:
Lists: pgsql-patches
On Mon, 4 Mar 2002, Bruce Momjian wrote:

> I am backing out this patch.  Please resubmit with this corrected.  Thanks.
> 
> I am running Python 1.5.

Therein lies the problem... :)

Since it appears you have the requirement of supporting old python
versions, attached is just the pgdb.py part of the patch (with a fix for
DateTime handling). It has the same functionality but certainly won't be
quite as fast. Given the absence of _PyString_Join in python1.5, it's a
pain to get the C variants working for all versions. The pgdb.py patch
does leaves the hooks in, should someone wish to do the optimization at a
later point.

Hope this helps,
-- Elliot
Ever stop to think, and forget to start again?

Attachment: postgresql-7.2-goodquote.patch
Description: text/plain (1.8 KB)

In response to

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2002-03-12 21:43:29
Subject: Re: support for POSIX 1003.1-2001 hosts
Previous:From: Ross J. ReedstromDate: 2002-03-12 20:00:26
Subject: Re: psql: backslash fix

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