Re: [INTERFACES] problem with pgaccess 0.93 - Mailing list pgsql-interfaces

From pat@patoche.org
Subject Re: [INTERFACES] problem with pgaccess 0.93
Date
Msg-id 199901132050.VAA00292@vagabond.bde.espci.fr
Whole thread Raw
In response to Re: [INTERFACES] problem with pgaccess 0.93  (Constantin Teodorescu <teo@flex.ro>)
List pgsql-interfaces
On 11-Jan-99, Constantin Teodorescu took time to write :
>> sorry if it was asked/answered before, but i just tested pgaccess 0.93
>> (excellent work by the way !) with postgres 6.3 and it does not work.
>
> PgAccess 0.93 is working fine with PostgreSQL 6.4.x due to some changes
> in libpgtcl !
> There is a small patch that you have to make in order to make it work
> with 6.3.2!
>
> So, in order to make PgAccess 0.93 work with PostgreSQL 6.3.x you should:
>
> replace in procedure wpg_exec the following line:
>
> set pgsql(errmsg) [pg_result $pgsql(res) -error]
>
> with this one :
>
> set pgsql(errmsg) "NO ERROR INFORMATION SUPPLIED"

yeah that worked very well !
thanks for your support.

unfortunately i do not know tcl enough (that is not at all in fact) to add
some kind of test, so that if people are running with 6.3.x it works.
You should maybe think of adding something like that to your code, in order
to take care of that problem.

Thanks again for your great software and your help

Patrick

/\//\/\/\\/\/\//\/\\/\/\\/\\/\//\/\\/\//\/\\/\//\/\\/\//\/\\
Patrick M.   pat@patoche.org    http://www.patoche.org/


pgsql-interfaces by date:

Previous
From: Antonio Mendez
Date:
Subject: Re: [INTERFACES] interface to MSsql server
Next
From: PostgresSQL Server
Date:
Subject: subscribe