This is a repost of my 29 Oct 2003 message, which didn't seem to make it all
the way in. It restores Tcl 8.0 compatibility, which was lost in my patch to
fix corrupt binary data transfer in pg_lo_read and pg_lo_write. Sorry, this
is against PostgreSQL-7.4beta5 which was the latest when I did this u
[EMAIL PROTECTED] wrote:
> 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)
Here's the patch to restore libpgtcl compatibility with Tcl-8.0, which was
lost in 7.4RC1 with my other patch to fix corrupt binary large-object reads
and writes. This patch is against PostgreSQL-7.4RC1. I've tested it with
Tcl-8.0.5 (minimally, since tcltest doesn't work with Tcl-8.0). At least
This fixes a protocol violation and disconnect when 7.4.x libpq is talking
to a v2 protocol (<=7.3.x) server. The client does COPY FROM STDIN, uses
the new call PQputCopyData(), then ends the copy using PQputCopyEnd(),
and gets back the odd message:
FATAL: Socket co
These corrections against 8.0.0beta3 are for removal of the Tcl interface
from core. I found two left-over references in the top-level README to be
fixed, several in the top-level INSTALL and Installation chapter of the
manual (both generated from docs/src/sgml/installation.sgml, I think) and
one