pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Mascari <mascarm@mascari.com>
To: Tim LoGrasso <tim@lograsso.net>
Cc: pgsql-odbc@postgresql.org
Subject: Re: New to ODBC with postgresql
Date: Tue, 21 Oct 2003 18:10:33 -0400
Message-ID: <3F95AED9.2060706@mascari.com> (raw)
In-Reply-To: <000001c39811$46eae110$542ca340@tlograsso>
References: <000001c39811$46eae110$542ca340@tlograsso>

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





view thread (3+ messages)

Message-ID: <3F95AED9.2060706@mascari.com>
Permalink:  ../3F95AED9.2060706@mascari.com/
Also on:    postgresql.org/message-id/3F95AED9.2060706@mascari.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: mascarm@mascari.com, tim@lograsso.net
  Subject: Re: New to ODBC with postgresql
  In-Reply-To: <3F95AED9.2060706@mascari.com>
  References: <000001c39811$46eae110$542ca340@tlograsso> <3F95AED9.2060706@mascari.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox