| From: | Mike Mascari <mascarm(at)mascari(dot)com> | 
|---|---|
| To: | Tim LoGrasso <tim(at)lograsso(dot)net> | 
| Cc: | pgsql-odbc(at)postgresql(dot)org | 
| Subject: | Re: New to ODBC with postgresql | 
| Date: | 2003-10-21 22:10:33 | 
| Message-ID: | 3F95AED9.2060706@mascari.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-odbc | 
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(at)mascari(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Oliver Elphick | 2003-10-21 22:16:42 | Segfault | 
| Previous Message | Tim LoGrasso | 2003-10-21 20:24:05 | Re: New to ODBC with postgresql |