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

From Constantin Teodorescu
Subject Re: [INTERFACES] problem with pgaccess 0.93
Date
Msg-id 3699AD4D.AD571D7F@flex.ro
Whole thread Raw
In response to problem with pgaccess 0.93  (pat@patoche.org)
Responses Re: [INTERFACES] problem with pgaccess 0.93  (pat@patoche.org)
List pgsql-interfaces
pat@patoche.org wrote:
>
> Hi,
>
> 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"

And it will work fine! In some error cases, you will not get the
appropriate error message from libpgtcl.

Tell me if that works!

All the best,

--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

pgsql-interfaces by date:

Previous
From: Aleksey Demakov
Date:
Subject: Re: [INTERFACES] yet another postgresql interface
Next
From: José López Requena
Date:
Subject: Problems accessing postmaster