Re: pgaccess 0.93 problem.

Поиск
Список
Период
Сортировка
От Constantin Teodorescu
Тема Re: pgaccess 0.93 problem.
Дата
Msg-id 368530F0.6C787323@flex.ro
обсуждение исходный текст
Список pgsql-general
Robert Szabo wrote:
>
> But I have some problem about the new v. 0.93
> I've Debian 2.0, tcl-tk 8.0. Postgress 6.3.2
> First argument is not a valid query result while executing
> "pg_result $pgres -numTuples"

PgAccess 0.93 will work fine on PostgreSQL 6.4 and higher.
Due to some enhancements made in libpgtcl, there is another option to
pg_result (-error) that does not exist in PosgreSQL 6.3.x

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.

Best wishes for the next year,

--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

В списке pgsql-general по дате отправления:

Предыдущее
От: Bill Sneed
Дата:
Сообщение: 6.4.1 problem
Следующее
От: Robert Chalmers
Дата:
Сообщение: Is there something special to do to pull 6.1 db.out files into 6.4.1 ?