X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E7C379FB339 for ; Wed, 30 Aug 2006 18:33:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 78038-02 for ; Wed, 30 Aug 2006 18:33:47 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 1428F9FB336 for ; Wed, 30 Aug 2006 18:33:48 -0300 (ADT) Received: from localhost (mx1.hub.org [200.46.208.251]) by pgfoundry.org (Postfix) with ESMTP id E840486C67C; Wed, 30 Aug 2006 21:33:47 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 77516-02; Wed, 30 Aug 2006 18:33:39 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 39D3086C67D; Wed, 30 Aug 2006 21:33:39 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000720 ] SQLGetInfo SQL_DATABASE_NAME no info Content-type: text/plain; charset=UTF-8 Message-Id: <20060830213339.39D3086C67D@pgfoundry.org> Date: Wed, 30 Aug 2006 21:33:39 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.021 tagged_above=0 required=5 tests=AWL, NO_REAL_NAME X-Spam-Level: * X-Archive-Number: 200608/168 X-Sequence-Number: 8132 Bugs item #1000720, was opened at 2006-08-29 20:25 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000720&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Farid Zidan (faridz) Assigned to: Nobody (None) Summary: SQLGetInfo SQL_DATABASE_NAME no info Initial Comment: Driver does not return database name for SQLGetInfo DATABASE_NAME // database name rc = SQLGetInfo( m_hdbc, SQL_DATABASE_NAME, m_szDatabaseName, sizeof( m_szDatabaseName ), &nLenOut ); ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2006-08-30 21:33 Message: The driver has returned "" for the request because PostgreSQL didn't support database.schema.table notation (even schema support was unavailable until 7.3). Though PostgreSQL supports the notation in recent versions, I'm not sure if the driver is safe for the notation. PostgreSQL is essentially a catalog-less dbms. Though PostgreSQL allows the notation, the only valid database is the current one. regards, Hiroshi Inoue ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000720&group_id=1000125