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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
tcl_utf.patch text/plain 11.9 KB

Responses

Browse pgsql-patches by date

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