Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Vsevolod Lobko <seva(at)sevasoft(dot)kiev(dot)ua>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support
Date: 2001-08-23 16:57:57
Message-ID: 200108231657.f7NGvv616740@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-08-23 17:00:00 Re: Re: [HACKERS] Re: WIN32 errno patch
Previous Message Vsevolod Lobko 2001-08-23 16:45:05 Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support