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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
postgresql-7.2-goodquote.patch text/plain 1.8 KB

In response to

Responses

Browse pgsql-patches by date

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