Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group