Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support
Date
Msg-id 200108232248.f7NMmir13980@candle.pha.pa.us
Whole thread Raw
In response to Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support  (Vsevolod Lobko <seva@sevasoft.kiev.ua>)
List pgsql-patches
>
>
> On Thu, 23 Aug 2001, Peter Eisentraut wrote:
>
> > Vsevolod Lobko writes:
> >
> > > > Is there a way to make this automatically enabled based on the TCL
> > > > version?  Does that make sense?
> > >
> > > This adds significant overhead to pl/tcl calls :((
> > > so I'm not sure that anybody want this functionality enabled by default
> >
> > It is my understanding that Tcl 8.3 will not work with 8 bit characters
> > without this functionality.  That would simply be unacceptable.  If users
>
> Really - yes.
> I can make this automatic based on tcl version if performance penalty on
> tcl>=8.3 is acceptable.

It is my understanding that the UTF penalty applies to all the TCL
versions >= 8.1 and that there is debate whether this is a good idea or
not.   However, seeing as TCL has the penalty, I don't see a problem
with having the same penalty in our code.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Vsevolod Lobko
Date:
Subject: Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support
Next
From: "Robert B. Easter"
Date:
Subject: JDBC patch (attempt#2) for util.Serialize and jdbc2.PreparedStatement