From: Richard Wesley <hawkfish.tableau@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: List databases using ODBC through OLE DB
Date: Wed, 29 Nov 2006 11:10:23 -0800
Message-ID: <DBDC6BFE-50BA-4DDA-A961-994AE138952E@gmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: hawkfish.tableau@gmail.com
Subject: Re: List databases using ODBC through OLE DB
In-Reply-To: <DBDC6BFE-50BA-4DDA-A961-994AE138952E@gmail.com>
References: <DBDC6BFE-50BA-4DDA-A961-994AE138952E@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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