Re: [PATCHES] possible ecpg vpath build error - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: [PATCHES] possible ecpg vpath build error
Date
Msg-id 20060904144937.GA27847@1
Whole thread Raw
In response to Re: [PATCHES] possible ecpg vpath build error  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] possible ecpg vpath build error
List pgsql-hackers
On Mon, Sep 04, 2006 at 12:06:02AM -0400, Tom Lane wrote:
> Michael Glaesemann <grzm@seespotcode.net> writes:
> > There's a lot of duplicate code in ecpg.
> 
> No kidding :-(.  The parser is bad enough but the datatype library is 
> an order of magnitude worse.  I don't have a great solution at hand
> though.  The backend utils/adt/ code gets to rely on the backend's

Neither have I.

> error handling and memory management protocols, which I surely do
> not propose to remove, but how could we keep common sources when
> ecpglib has to work in a far less friendly environment?

We could modify the backend code to use pgtypeslib, but that would cost
at least a little bit of performance I would guess.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: @ versus ~, redux
Next
From: Tom Lane
Date:
Subject: Re: Planner estimates and cast operations ,...