ljb <[EMAIL PROTECTED]> writes: > +#if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION >= 1 || TCL_MAJOR_VERSION > 8 > + bufObj = Tcl_NewByteArrayObj(buf, nbytes); > +#else > bufObj = Tcl_NewStringObj(buf, nbytes); > +#endif
Hmm. We could certainly do it like that, but does this actually fix the problem for Tcl 8.0.*? Or will the unwanted character set translation happen anyway in that version? I don't see any value in letting the code compile against 8.0.* if the behavior will be wrong ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org