Received: from flex.flex.ro (IDENT:root@flex.flex.ro [193.230.255.2]) by hub.org (8.9.1/8.9.1) with ESMTP id CAA20130 for ; Tue, 29 Dec 1998 02:55:12 -0500 (EST) (envelope-from teo@flex.ro) Received: from flex.ro (IDENT:teo@flex.flex.ro [193.230.255.2]) by flex.flex.ro (8.9.1/8.9.1) with ESMTP id JAA10834; Tue, 29 Dec 1998 09:52:58 +0200 Sender: teo@flex.flex.ro Message-ID: <36888A5A.CD1CCBA8@flex.ro> Date: Tue, 29 Dec 1998 09:52:58 +0200 From: Constantin Teodorescu Organization: FLEX Consulting X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i686) MIME-Version: 1.0 To: Stan Brown , PostgreSQL Interfaces Subject: Re: [INTERFACES] Can;t connect to db with pgaccess References: <199812282048.PAA12584@hub.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Stan Brown wrote: > > Downloaded the latest pgacess. Looks pretty neat. Unfortunatley it will > not connect to my 6.3 database. Thinking that it might be a > cnfiguration problem on this database (it has bee in service for over > a year now). I donwloade the Debian package, and set up a test database > on the Debian box. Still mo go. 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