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

Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support

From: Vsevolod Lobko <seva(at)sevasoft(dot)kiev(dot)ua>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support
Date: 2001-08-23 16:45:05
Message-ID: 20010823193804.R40612-200000@localhost (view raw or flat)
Thread:
Lists: pgsql-patches
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.


Attachment: tcl_utf.patch
Description: text/plain (11.9 KB)

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-08-23 16:57:57
Subject: Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal support
Previous:From: Peter EisentrautDate: 2001-08-23 15:36:01
Subject: Re: [PATCHES] encoding names

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