Re: Re: copy to/from stdout using libpgtcl - Mailing list pgsql-general

From lbayuk@mindspring.com (ljb)
Subject Re: Re: copy to/from stdout using libpgtcl
Date
Msg-id 9l7afm$jm$2@news.tht.net
Whole thread Raw
In response to Re: Re: copy to/from stdout using libpgtcl  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
tgl@sss.pgh.pa.us wrote:
>Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> Is this safe to put into the main code?  It looks fine.

Looks fine to me too, but I suppose you want to know if it works and
doesn't break anything else...
The original poster may be able to answer this with more confidence.

>It looks to me like it'll break compatibility with all pre-8.3 Tcls.
>Need some #ifdef's in there, no?

No, I don't think so. It still uses the older "Tcl v1 channel type"
structure, not the newer one introduced in Tcl 8.3.2. Should be
OK back through 8.0, although I base this only on an eyeball-check
of the Tcl 8.0.5 include files.

pgsql-general by date:

Previous
From: lbayuk@mindspring.com (ljb)
Date:
Subject: Re: copy to/from stdout using libpgtcl
Next
From: Randall Perry
Date:
Subject: Re: Constraint, Rule, or Trigger?