pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql 0.2  does not work with tcl8.2 ?
3+ messages / 2 participants
[nested] [flat]

* pgsql 0.2  does not work with tcl8.2 ?
@ 1999-11-18 00:35  <Miguel Sofer <mig@utdt.edu>
  0 siblings, 0 replies; 3+ messages in thread

From: " @ 1999-11-18 00:35 UTC (permalink / raw)
  To: pgsql-interfaces; vale@aero.vmei.acad.bg

Running tcl8.2.2 on a linux box; pgsql.tcl fails to connect.
On the other hand, it seems to work fine under tcl8.0.

Any hints? Is pgsql.tcl still mantained?
Thanks

Miguel Sofer



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* RE: pgsql 0.2  does not work with tcl8.2 ?
@ 1999-11-18 20:45  <Miguel Sofer <mig@utdt.edu>
  0 siblings, 1 reply; 3+ messages in thread

From: " @ 1999-11-18 20:45 UTC (permalink / raw)
  To: pgsql-interfaces; vale@aero.vmei.acad.bg

The problem seems to be with the new unicode internal representation
of strings in tcl8.2.

A small patch to pgsql0.2: on lines 393 and 800, replace the tests of
the form
   if {$a != ""}
with
   if {a != "\0"}

Everything seems to work fine after that ...

Miguel Sofer



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql 0.2  does not work with tcl8.2 ?
@ 1999-11-19 07:20  Valentin Iliev <vale@aero.vmei.acad.bg>
  parent: <Miguel Sofer <mig@utdt.edu>
  0 siblings, 0 replies; 3+ messages in thread

From: Valentin Iliev @ 1999-11-19 07:20 UTC (permalink / raw)
  To: " <Miguel Sofer" <mig@utdt.edu>; pgsql-interfaces


> 
> The problem seems to be with the new unicode internal representation
> of strings in tcl8.2.
> 

I think so.

> A small patch to pgsql0.2: on lines 393 and 800, replace the tests of
> the form
>    if {$a != ""}
> with
>    if {a != "\0"}
> 

I will change this and new version of pgsql will be 0.21.

Valentin Iliev
 
--------------------------------------------------------
  Valentin Iliev    e-mail: vale@aero.vmei.acad.bg
     Dept. of Aeronautics, Tech. univ. of Sofia
--------------------------------------------------------



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~1999-11-19 07:20 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-11-18 00:35 pgsql 0.2  does not work with tcl8.2 ? <Miguel Sofer <mig@utdt.edu>
1999-11-18 20:45 RE: pgsql 0.2  does not work with tcl8.2 ? <Miguel Sofer <mig@utdt.edu>
1999-11-19 07:20 ` Valentin Iliev <vale@aero.vmei.acad.bg>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox