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 200108231657.f7NGvv616740@candle.pha.pa.us
Whole thread Raw
In response to Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support  (Vsevolod Lobko <seva@sevasoft.kiev.ua>)
Responses Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support
List pgsql-patches
Is there a way to make this automatically enabled based on the TCL
version?  Does that make sense?

> This patch adds calls to Tcl_ExternalToUtf and Tcl_UtfToExternal
> functions on parameters of SPI functions.
>
> Without this calls it's imposiible to work with 8-bit text in pl/tcl
> functions with tcl-8.3.
>
> Patch assumes that database encoding and system encoding of Tcl is
> equal.
>
> Patch is agains current CVS sources. It adds new configure switch
> --enable-pltcl-utf. Without this switch patch does nothing.
>

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl

--
  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: Tom Lane
Date:
Subject: Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support
Next
From: Bruce Momjian
Date:
Subject: Re: Re: [HACKERS] Re: WIN32 errno patch