Re: [PATCHES] possible ecpg vpath build error

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [PATCHES] possible ecpg vpath build error
Дата
Msg-id 20060904144937.GA27847@1
обсуждение исходный текст
Ответ на Re: [PATCHES] possible ecpg vpath build error  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] possible ecpg vpath build error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: @ versus ~, redux
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Planner estimates and cast operations ,...