X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 4124AD1B509 for ; Tue, 21 Oct 2003 22:12:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 66129-01 for ; Tue, 21 Oct 2003 19:12:07 -0300 (ADT) Received: from ohsmtp02.ogw.rr.com (ohsmtp02.ogw.rr.com [65.24.7.37]) by svr1.postgresql.org (Postfix) with ESMTP id 812A9D1B500 for ; Tue, 21 Oct 2003 19:12:04 -0300 (ADT) Received: from corvette.mascari.com (uar225045.columbus.rr.com [204.210.225.45]) by ohsmtp02.ogw.rr.com (8.12.10/8.12.2) with ESMTP id h9LMBmI5010195; Tue, 21 Oct 2003 18:11:48 -0400 (EDT) Received: from mascari.com (ferrari.mascari.com [192.168.2.1]) by corvette.mascari.com (8.11.6/8.11.6) with ESMTP id h9LMAXC09140; Tue, 21 Oct 2003 18:10:34 -0400 Message-ID: <3F95AED9.2060706@mascari.com> Date: Tue, 21 Oct 2003 18:10:33 -0400 From: Mike Mascari User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim LoGrasso Cc: pgsql-odbc@postgresql.org Subject: Re: New to ODBC with postgresql References: <000001c39811$46eae110$542ca340@tlograsso> In-Reply-To: <000001c39811$46eae110$542ca340@tlograsso> X-Enigmail-Version: 0.74.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-MailScanner: Found to be clean X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/66 X-Sequence-Number: 3379 Tim LoGrasso wrote: > Some additional debug actions by me: > > I checked the mirror and realized I may not have the latest version of > the ODBC driver. So, I downloaded from the msi directory the following > file: psqlodbc-07_03_0100.zip > > I then uninstalled the existing driver and installed the 07_03_0100.zip > driver. > > I now get the following error in MS Word: “Unable to obtain list of > tables from the datasource.” > > I tried to connect via MS Access using the same DSN and I get the > following error: > > “ODBC—call failed. > > ERROR: current transaction is aborted, queries > ignored until end of transaction block (#7)” It may help in debugging the situation if you turned statement logging on in postgresql.conf by setting: log_statement = true On RedHat, the initialization script would then need to be edited so output is not directed to /dev/null but a file instead. That way you could examine the SQL statements the ODBC driver is sending to the database. Mike Mascari mascarm@mascari.com