Attempting pull postgres data into excel

This is a multi-part message in MIME format.

------=_NextPart_000_004C_01C865BC.58046840
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am attempting to pull data into excel through odbc from postgres 8.2 =
running on vista.

I have set-up an ODBC DSN as follows:

Database: db_name
Server: localhost
Port: 5432
username: postgres

The test connection from the ODBC data source administration is =
succesful, but when I attempt to connect through Excel it gives me the =
following error: 'Unable to obtain list of tables from the data source'.

Any idea what is going on here?

Thanks
------=_NextPart_000_004C_01C865BC.58046840
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16587" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am attempting to pull data into excel =
through
odbc from postgres 8.2 running on vista. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have set-up an ODBC DSN as =
follows:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Database: db_name</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Server: localhost</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Port: 5432</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>username: postgres</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The test connection from the ODBC data =
source
administration is succesful, but when I attempt to connect through Excel =
it
gives me the following error: 'Unable to obtain list of tables from the =
data
source'.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any idea what is going on =
here?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV></BODY></HTML>

------=_NextPart_000_004C_01C865BC.58046840--
Tore Lukashaugen [ Sa, 02 Februar 2008 17:54 ] [ ID #1922301 ]

Re: Attempting pull postgres data into excel

"Tore Lukashaugen" <tore [at] lukashaugen.freeserve.co.uk> writes:
> I am attempting to pull data into excel through odbc from postgres 8.2 running on vista.

> The test connection from the ODBC data source administration is succesful, but when I attempt to connect through Excel it gives me the following error: 'Unable to obtain list of tables from the data source'.

Which ODBC driver are you using? It sounds like it's not compatible
with this version of Postgres, but it's hard to say more than that.

Looking into the postmaster log to see what the server thinks went wrong
might be instructive.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
Tom Lane [ Sa, 02 Februar 2008 18:45 ] [ ID #1922302 ]
Datenbanken » gmane.comp.db.postgresql.odbc » Attempting pull postgres data into excel

Vorheriges Thema: Communication error during authentication
Nächstes Thema: psqlODBC 08.03.0100 released.