Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 836D59FB228 for ; Wed, 29 Nov 2006 15:11:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 18997-02 for ; Wed, 29 Nov 2006 15:10:40 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by postgresql.org (Postfix) with ESMTP id 5040B9FB1DD for ; Wed, 29 Nov 2006 15:10:39 -0400 (AST) Received: by wx-out-0506.google.com with SMTP id i28so2390876wxd for ; Wed, 29 Nov 2006 11:10:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=uD4GN6Ix+/rr/VuWAezDxnBxtCCPauKlRnePX91KcbYp8gAf/uerhUJ8/iH4aawQX8YpWiorVKZycpZqt913Mz/eTe/fFC2opw2g6p6vjK2t2hfRL8bnWaiYwooQId3MAmeIX5oFbF9wKzpvrbvp/p6bLM8NRuWRbB548INsbLg= Received: by 10.90.78.1 with SMTP id a1mr2631111agb.1164827437960; Wed, 29 Nov 2006 11:10:37 -0800 (PST) Received: from ?172.16.1.60? ( [70.96.182.2]) by mx.google.com with ESMTP id e17sm354959qba.2006.11.29.11.10.37; Wed, 29 Nov 2006 11:10:37 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: pgsql-odbc@postgresql.org From: Richard Wesley Subject: List databases using ODBC through OLE DB Date: Wed, 29 Nov 2006 11:10:23 -0800 X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/64 X-Sequence-Number: 8446 Hi - I am attempting to build a connection dialog for Postgres using the ODBC driver through the Windows OLE DB interface. We have done this for a number of other engines (including MySQL) and I am trying to get it up and running for Postgres. The problem I am having is that we are unable to get a list of databases from the server once we are connected. The request fails to complete when requesting either DBSCHEMA_CATALOGS or DBSCHEMA_SCHEMATA from the IID_IDBSchemaRowset::GetRowset API. Does anyone know the correct incantation to use here? TIA, ________________________________________________________ Richard Wesley Senior Software Developer Tableau Software Visit: http://www.trytableau.com/now.html