| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера