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
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
>
> 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
--------------------------------------------------------
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера