Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 86DD09FB231 for ; Fri, 9 Feb 2007 15:04:00 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 54645-02 for ; Fri, 9 Feb 2007 15:03:58 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id C09CA9FB1BD for ; Fri, 9 Feb 2007 15:03:59 -0400 (AST) Received: from localhost (unknown [200.46.204.182]) by pgfoundry.org (Postfix) with ESMTP id 986EE217283; Fri, 9 Feb 2007 19:03:59 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 76307-02; Fri, 9 Feb 2007 15:03:57 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id 101F321726E; Fri, 9 Feb 2007 19:03:59 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1001906 ] Unable to obtain list of tables from the datasource Content-type: text/plain; charset=UTF-8 Message-Id: <20070209190359.101F321726E@pgfoundry.org> Date: Fri, 9 Feb 2007 19:03:59 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/10 X-Sequence-Number: 8634 Bugs item #1001906, was opened at 2007-02-09 12:03 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1001906&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Dave Martin (dave) Assigned to: Nobody (None) Summary: Unable to obtain list of tables from the datasource Initial Comment: Attempting to use Visio 2007 to access postgres databases for link data to shape purposes results in the error "Unable to obtain list of tables from the datasource". I have tried both the ansi and unicode drivers. Using the reverse-engineer database portion of visio works fine. This might make it seem like a bug in Visio, however link data to tables works fine with other odbc drivers. I have watched a packet trace between the postgres server and the PC in question, and verified that the list of tables is in fact returned from postgres to the PC, but apparently it never makes it from the odbc driver to visio or is corrupted somehow. I have tried both 8.01 and 8.02 drivers. Here is mylog: [5888-0.001]globals.extra_systable_prefixes = 'dd_;' [5888-0.003]exe name=VISIO plaformId=2 [5888-0.004][[SQLAllocHandle]][5888-0.005]**** in PGAPI_AllocEnv ** [5888-0.005]** exit PGAPI_AllocEnv: phenv = 05713B58 ** [5888-0.007][[SQLSetEnvAttr]] att=200,2 [5888-0.008][[SQLAllocHandle]][5888-0.008]PGAPI_AllocConnect: entering... [5888-0.009]**** PGAPI_AllocConnect: henv = 05713B58, conn = 05713B88 [5888-0.011]EN_add_connection: self = 05713B58, conn = 05713B88 [5888-0.012] added at i =0, conn->henv = 05713B58, conns[i]->henv = 05713B58 [5888-0.014][SQLGetInfoW(30)][5888-0.015]PGAPI_GetInfo: entering...fInfoType=77 [5888-0.016]PGAPI_GetInfo: p='03.51', len=0, value=0, cbMax=12 [5888-0.017][SQLSetConnectAttrW][5888-0.017]PGAPI_SetConnectAttr for 05713B88: 115 00000000 [5888-0.018]the application is unicode [5888-0.019][SQLDriverConnectW][5888-0.019]PGAPI_DriverConnect: entering... [5888-0.020]**** PGAPI_DriverConnect: fDriverCompletion=3, connStrIn='DSN=opennms;' [5888-0.029]our_connect_string = 'DSN=opennms;' [5888-0.030]attribute = 'DSN', value = 'opennms' [5888-0.031]copyAttributes: DSN='opennms',server='',dbase='',user='',passwd='xxxxx',port='',onlyread='',protocol='',conn_settings='',disallow_premature=-1) [5888-0.033]getDSNinfo: DSN=opennms overwrite=0 [5888-0.035]rollback_on_error=-1 [5888-0.037]force_abbrev=0 bde=0 cvt_null_date=0 [5888-0.040]globals.extra_systable_prefixes = 'dd_;' [5888-0.049]our_connect_string = 'DSN=opennms;' [5888-0.050]attribute = 'DSN', value = 'opennms' [5888-0.050]CopyCommonAttributes: A7=100;A8=4096;A9=0;B0=254;B1=8190;B2=0;B3=0;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_; AND psqlodbc: conn=05713B88, PGAPI_DriverConnect( in)='DSN=opennms;', fDriverCompletion=3 DSN info: DSN='opennms',server='postgresql.somedomain.net',port='5432',dbase='opennms',user='xxiii',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1001906&group_id=1000125