Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support
Дата
Msg-id 200108232248.f7NMmir13980@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support  (Vsevolod Lobko <seva@sevasoft.kiev.ua>)
Список 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 по дате отправления:

Предыдущее
От: Vsevolod Lobko
Дата:
Сообщение: Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support
Следующее
От: "Robert B. Easter"
Дата:
Сообщение: JDBC patch (attempt#2) for util.Serialize and jdbc2.PreparedStatement