[PATCHES] (repost) pgtcl: restore 8.0 compatibility for large obj fix

2003-11-05 Thread ljb
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

Re: [PATCHES] (repost) pgtcl: restore 8.0 compatibility for large obj fix

2003-11-06 Thread ljb
[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)

[PATCHES] Patch 7.4RC1 pgtcl to restore Tcl-8.0 compatibility for large obj fix

2003-11-07 Thread ljb
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

[PATCHES] libpq v2 protocol error: COPY FROM STDIN, PQputCopyEnd()

2004-03-08 Thread ljb
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

[PATCHES] 8.0.0beta3 release documentation fixes for Tcl unbundling

2004-09-29 Thread ljb
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