The attached patch should be sufficient to fix libpgtcl. It requires

Bruce Momjian <bruce@momjian.us>

Commit: 9e46767161fdbb3904bfbb4c786a7addfd1bad91
Author: Bruce Momjian <bruce@momjian.us>
Date: 2001-09-10T14:49:12Z
Releases: 7.2.1
The attached patch should be sufficient to fix libpgtcl. It requires
PostgreSQL to support unicode-conversion, but retains binary
compatibility among Tcl versions.

However, it neither checks at compile time not at runtime, if support
for unicode-conversion does really exist and it doesn't prevent the
user from changing the client encoding after initialization. I think
there should be warnings about this somewhere in the documentation.

Reinhard Max

Files

PathChange+/−
src/interfaces/libpgtcl/pgtcl.c modified +9 −1