Re: [HACKERS] ecpg enhance patch

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: meskes(at)postgreSQL(dot)org
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] ecpg enhance patch
Date: 1999-12-28 02:35:32
Message-ID: 19991228113532N.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Mon, Dec 27, 1999 at 04:49:19PM +0900, Tatsuo Ishii wrote:
> > Here is a patch that would enhance the efficiency in that skip strings
> > which have been already checked. The patch was made by Kazuko
> > Nakagawa. Michael, can you comment on this?
>
> The problem is that the current system allows insertions of placeholders
> which are later replaced by values. After applying this patch this will no
> longer work. But with some changes we might get almost the same result.
>
> After the p = next_insert(...) p-newcopy characters are already clean. This
> should be used. I just noticed that there is a ugly hack in there anyway,
> namely the string length calculation via substraction of two pointers. I

Thank you for your comment. I'll foward it to the author of the patch.

> wonder if this works with multibyte strings.

Should be no problem.
--
Tatsuo Ishii

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 1999-12-28 06:37:39 Re: [HACKERS] RE: What database i can use? (fwd)
Previous Message Marc G. Fournier 1999-12-28 02:14:08 RE: What database i can use? (fwd)