Re: [INTERFACES] problem with pgaccess 0.93

Поиск
Список
Период
Сортировка
От Constantin Teodorescu
Тема Re: [INTERFACES] problem with pgaccess 0.93
Дата
Msg-id 3699AD4D.AD571D7F@flex.ro
обсуждение исходный текст
Ответ на problem with pgaccess 0.93  (pat@patoche.org)
Ответы Re: [INTERFACES] problem with pgaccess 0.93  (pat@patoche.org)
Список 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 по дате отправления:

Предыдущее
От: Aleksey Demakov
Дата:
Сообщение: Re: [INTERFACES] yet another postgresql interface
Следующее
От: José López Requena
Дата:
Сообщение: Problems accessing postmaster