From: Mr. DBA <dba@ciberforce.net>
To: pgsql-odbc@postgresql.org
Subject: SQL query of an ODBC data source?
Date: Mon, 12 Jun 2006 17:01:15 -0400
Message-ID: <E1FptX9-0006rY-R3@webmail12.yourhostingaccount.com> (raw)
Hi List;
I've installed Postgres on a Linux box. I've also installed unixODBC on the same linux box and I can use isql to connect to a remote database via a data source that I've configured in ~/.odbc.ini
My question is this:
Can I access tables in the remote database via a psql query which references the ODBC data source? Something like "select * from datasource.database.table"
I thought postgres was an "ODBC' aware databse but I cannot find any info on how to do this -- I only find info on dblinks which is not what I want...
Thanks in advance...
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: dba@ciberforce.net
Subject: Re: SQL query of an ODBC data source?
In-Reply-To: <E1FptX9-0006rY-R3@webmail12.yourhostingaccount.com>
References: <E1FptX9-0006rY-R3@webmail12.yourhostingaccount.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