PgAccess 0.93 patch to make it work with PostgreSQL 6.3.x


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.x !

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.

 Back