pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedTrouble Importing Data to Excel "unable to obtain a list of tables"
6+ messages / 3 participants
[nested] [flat]
* Trouble Importing Data to Excel "unable to obtain a list of tables"
@ 2003-06-17 12:24 Carter Patterson <carter@fortedata.com>
2003-06-17 14:03 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Jeff Eckermann <jeff_eckermann@yahoo.com>
0 siblings, 1 reply; 6+ messages in thread
From: Carter Patterson @ 2003-06-17 12:24 UTC (permalink / raw)
To: pgsql-odbc
I am trying to connect Excel and Postgres.
I have Postgres 7.3.2 installed on RH 8.0 box.
I have loaded pgsqlodbc 7.3.1 installed on my Windows XP Professional.
MS Excel 2002
I went to Control Panel, Admin Tools, DataSources and added a DSN for
Postgres. I checked the 7.X, 6.4 box.
I also told it to show system tables.
In Excel, I choose Data, Import External Data, Import Data, Connect to
New Data Source---
This takes me to the Excel Wizard where I choose ODBC - DSN, then I
select Postgresql30. It then tells me unable to obtain a list of
tables.
Any help or direction to documentation would be appreciated. thanks
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Trouble Importing Data to Excel "unable to obtain a list of tables"
2003-06-17 12:24 Trouble Importing Data to Excel "unable to obtain a list of tables" Carter Patterson <carter@fortedata.com>
@ 2003-06-17 14:03 ` Jeff Eckermann <jeff_eckermann@yahoo.com>
2003-06-17 14:21 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Carter Patterson <carter@fortedata.com>
2003-06-17 14:22 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Rommel the iCeMAn <iceman@sunbeach.net>
0 siblings, 2 replies; 6+ messages in thread
From: Jeff Eckermann @ 2003-06-17 14:03 UTC (permalink / raw)
To: Carter Patterson <carter@fortedata.com>; pgsql-odbc
--- Carter Patterson <carter@fortedata.com> wrote:
> I am trying to connect Excel and Postgres.
>
> I have Postgres 7.3.2 installed on RH 8.0 box.
> I have loaded pgsqlodbc 7.3.1 installed on my
> Windows XP Professional.
> MS Excel 2002
>
> I went to Control Panel, Admin Tools, DataSources
> and added a DSN for
> Postgres. I checked the 7.X, 6.4 box.
> I also told it to show system tables.
>
>
> In Excel, I choose Data, Import External Data,
> Import Data, Connect to
> New Data Source---
>
> This takes me to the Excel Wizard where I choose
> ODBC - DSN, then I
> select Postgresql30. It then tells me unable to
> obtain a list of
> tables.
Sounds like you have done everything right, so I would
suspect a connection problem. Is your Postgres
accepting tcp/ip connections (needs postmaster started
with "-i" switch, or "tcpip = true" in
postgresql.conf)? Do you have logging enabled for
ODBC or for Postgres? If so, what do the logs show?
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Trouble Importing Data to Excel "unable to obtain a list of tables"
2003-06-17 12:24 Trouble Importing Data to Excel "unable to obtain a list of tables" Carter Patterson <carter@fortedata.com>
2003-06-17 14:03 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Jeff Eckermann <jeff_eckermann@yahoo.com>
@ 2003-06-17 14:21 ` Carter Patterson <carter@fortedata.com>
1 sibling, 0 replies; 6+ messages in thread
From: Carter Patterson @ 2003-06-17 14:21 UTC (permalink / raw)
To: pgsql-odbc
Jeff:
I do have the '-i' option on through postgresql.conf flag. I can
connect to pgadmin without a problem.
In excel, it has a "Test Connection" button. It works fine. But when I
try to get a list of tables, I get the error message
Login failed: Catalog information cannot be retrieved.
I know the login and password are good. Here is the log. Thanks for
your help.
Carter
conn=35469000, PGAPI_DriverConnect(
in)='DSN=PostgreSQL30;UID=carter;PWD=xxxxxxxx;', fDriverCompletion=0
DSN info:
DSN='PostgreSQL30',server='63.64.82.12',port='5432',dbase='forte',user='
carter',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0
'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
conn=35469000, PGAPI_DriverConnect(
in)='DSN=PostgreSQL30;UID=carter;PWD=xxxxxxxx;', fDriverCompletion=0
DSN info:
DSN='PostgreSQL30',server='63.64.82.12',port='5432',dbase='forte',user='
carter',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0
'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
-----Original Message-----
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Jeff Eckermann
Sent: Tuesday, June 17, 2003 9:04 AM
To: Carter Patterson; pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Trouble Importing Data to Excel "unable to obtain a
list of tables"
--- Carter Patterson <carter@fortedata.com> wrote:
> I am trying to connect Excel and Postgres.
>
> I have Postgres 7.3.2 installed on RH 8.0 box.
> I have loaded pgsqlodbc 7.3.1 installed on my
> Windows XP Professional.
> MS Excel 2002
>
> I went to Control Panel, Admin Tools, DataSources
> and added a DSN for
> Postgres. I checked the 7.X, 6.4 box.
> I also told it to show system tables.
>
>
> In Excel, I choose Data, Import External Data,
> Import Data, Connect to
> New Data Source---
>
> This takes me to the Excel Wizard where I choose
> ODBC - DSN, then I
> select Postgresql30. It then tells me unable to
> obtain a list of
> tables.
Sounds like you have done everything right, so I would
suspect a connection problem. Is your Postgres
accepting tcp/ip connections (needs postmaster started
with "-i" switch, or "tcpip = true" in
postgresql.conf)? Do you have logging enabled for
ODBC or for Postgres? If so, what do the logs show?
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Trouble Importing Data to Excel "unable to obtain a list of tables"
2003-06-17 12:24 Trouble Importing Data to Excel "unable to obtain a list of tables" Carter Patterson <carter@fortedata.com>
2003-06-17 14:03 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Jeff Eckermann <jeff_eckermann@yahoo.com>
@ 2003-06-17 14:22 ` Rommel the iCeMAn <iceman@sunbeach.net>
2003-06-18 14:05 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Jeff Eckermann <jeff_eckermann@yahoo.com>
1 sibling, 1 reply; 6+ messages in thread
From: Rommel the iCeMAn @ 2003-06-17 14:22 UTC (permalink / raw)
To: pgsql-odbc
I also had a strikingly similar problem while trying to connect from Crystal
Reports. It only worked when I changed all the PostgreSQL table names to
lowercase. I read somewhere that uppercase names can be used if enclosed in
quotes but that didn't work for me.
just a suggestion :-)
Rommel the iCeMAn
Computer Programmer
Barbados, Caribbean.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Trouble Importing Data to Excel "unable to obtain a list of tables"
2003-06-17 12:24 Trouble Importing Data to Excel "unable to obtain a list of tables" Carter Patterson <carter@fortedata.com>
2003-06-17 14:03 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Jeff Eckermann <jeff_eckermann@yahoo.com>
2003-06-17 14:22 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Rommel the iCeMAn <iceman@sunbeach.net>
@ 2003-06-18 14:05 ` Jeff Eckermann <jeff_eckermann@yahoo.com>
2003-06-18 14:11 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Carter Patterson <carter@fortedata.com>
0 siblings, 1 reply; 6+ messages in thread
From: Jeff Eckermann @ 2003-06-18 14:05 UTC (permalink / raw)
To: Rommel the iCeMAn <iceman@sunbeach.net>; pgsql-odbc; +Cc: carter@fortedata.com
Carter,
Just curious: was this the problem?
Jeff
--- Rommel the iCeMAn <iceman@sunbeach.net> wrote:
> I also had a strikingly similar problem while trying
> to connect from Crystal
> Reports. It only worked when I changed all the
> PostgreSQL table names to
> lowercase. I read somewhere that uppercase names can
> be used if enclosed in
> quotes but that didn't work for me.
>
> just a suggestion :-)
> Rommel the iCeMAn
> Computer Programmer
> Barbados, Caribbean.
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
majordomo@postgresql.org
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Trouble Importing Data to Excel "unable to obtain a list of tables"
2003-06-17 12:24 Trouble Importing Data to Excel "unable to obtain a list of tables" Carter Patterson <carter@fortedata.com>
2003-06-17 14:03 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Jeff Eckermann <jeff_eckermann@yahoo.com>
2003-06-17 14:22 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Rommel the iCeMAn <iceman@sunbeach.net>
2003-06-18 14:05 ` Re: Trouble Importing Data to Excel "unable to obtain a list of tables" Jeff Eckermann <jeff_eckermann@yahoo.com>
@ 2003-06-18 14:11 ` Carter Patterson <carter@fortedata.com>
0 siblings, 0 replies; 6+ messages in thread
From: Carter Patterson @ 2003-06-18 14:11 UTC (permalink / raw)
To: pgsql-odbc
No, I only use lower case names.
I was able to import data into excel via another method. Instead of
using the Excel selection "Import Data", I selected New Database Query,
which essentially runs MS Query. This worked just fine.
This would lead me to believe that there is a good possibility that the
Import Data feature of Excel has its own bugs.
Thanks for your help everyone.
-----Original Message-----
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Jeff Eckermann
Sent: Wednesday, June 18, 2003 9:05 AM
To: Rommel the iCeMAn; PostgreSQL ODBC List
Cc: carter@fortedata.com
Subject: Re: [ODBC] Trouble Importing Data to Excel "unable to obtain a
list of tables"
Carter,
Just curious: was this the problem?
Jeff
--- Rommel the iCeMAn <iceman@sunbeach.net> wrote:
> I also had a strikingly similar problem while trying
> to connect from Crystal
> Reports. It only worked when I changed all the
> PostgreSQL table names to
> lowercase. I read somewhere that uppercase names can
> be used if enclosed in
> quotes but that didn't work for me.
>
> just a suggestion :-)
> Rommel the iCeMAn
> Computer Programmer
> Barbados, Caribbean.
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
majordomo@postgresql.org
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2003-06-18 14:11 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-06-17 12:24 Trouble Importing Data to Excel "unable to obtain a list of tables" Carter Patterson <carter@fortedata.com>
2003-06-17 14:03 ` Jeff Eckermann <jeff_eckermann@yahoo.com>
2003-06-17 14:21 ` Carter Patterson <carter@fortedata.com>
2003-06-17 14:22 ` Rommel the iCeMAn <iceman@sunbeach.net>
2003-06-18 14:05 ` Jeff Eckermann <jeff_eckermann@yahoo.com>
2003-06-18 14:11 ` Carter Patterson <carter@fortedata.com>
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