Re: [INTERFACES] ecpg & 8.3 -> 8.4 migration - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: [INTERFACES] ecpg & 8.3 -> 8.4 migration
Date
Msg-id 20091124154404.GA4173@feivel.credativ.lan
Whole thread Raw
In response to Re: [INTERFACES] ecpg & 8.3 -> 8.4 migration  (Mark Richardson <markmapo@yahoo.com>)
List pgsql-hackers
On Sat, Nov 21, 2009 at 12:49:33PM -0800, Mark Richardson wrote:
> I'm pretty sure the problem I found is related to this, but I found that ecpg
> doesn't process booleans correctly- this was in a old version of postgres (I
> think it was 7.4.2).  I traced it down in the code, and there is a section
> that defines the values to be "yes" or "no", but then further processing
> looks for "true" or "false", so the end result is that a boolean is ALWAYS
> false, because the 2 filters don't match.   

Is this a bug that you saw back then in 7 something, or a bug you still see?

> If you're interested in more detail, I have code fixes (they are at work so I'll send on Monday).

Please send them. I'm interested.

Michael

-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: meskes@jabber.org
VfL Borussia! Forca Barca! Go SF 49ers! Use: Debian GNU/Linux, PostgreSQL


pgsql-hackers by date:

Previous
From: Emmanuel Cecchet
Date:
Subject: Re: Partitioning option for COPY
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: SE-PgSQL patch review