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 9BF229FA3CD for ; Mon, 12 Jun 2006 18:19:36 -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 29068-07 for ; Mon, 12 Jun 2006 18:19:32 -0300 (ADT) X-Greylist: delayed 00:17:28.003552 by SQLgrey- Received: from mail03.yourhostingaccount.com (outmail.yourhostingaccount.com [65.254.254.71]) by postgresql.org (Postfix) with ESMTP id CA4F89FA159 for ; Mon, 12 Jun 2006 18:19:33 -0300 (ADT) Received: from mailscan26.yourhostingaccount.com ([10.1.15.26] helo=mailscan26.yourhostingaccount.com) by mail03.yourhostingaccount.com with esmtp (Exim) id 1FptXu-0000i5-2u for pgsql-odbc@postgresql.org; Mon, 12 Jun 2006 17:02:02 -0400 Received: from [10.1.16.12] (ident=exim) by mailscan26.yourhostingaccount.com with spamscanlookuphost (Exim) id 1FptXu-0005cV-0q for pgsql-odbc@postgresql.org; Mon, 12 Jun 2006 17:02:02 -0400 Received: from [10.1.16.12] (helo=webmail12.yourhostingaccount.com) by mailscan26.yourhostingaccount.com with esmtp (Exim) id 1FptXt-0005cK-Iw for pgsql-odbc@postgresql.org; Mon, 12 Jun 2006 17:02:01 -0400 Received: from nobody by webmail12.yourhostingaccount.com with local (Exim) id 1FptX9-0006rY-R3 for pgsql-odbc@postgresql.org; Mon, 12 Jun 2006 17:01:15 -0400 Content-Disposition: inline Content-Transfer-Encoding: binary Mime-Version: 1.0 From: "Mr. DBA" To: pgsql-odbc@postgresql.org Subject: SQL query of an ODBC data source? Reply-To: dba@ciberforce.net Content-Type: text/plain X-Mailer: AtMail Corp 3.64 - http://webbasedemail.com/ X-Origin: 63.214.184.6 Message-Id: Date: Mon, 12 Jun 2006 17:01:15 -0400 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/74 X-Sequence-Number: 7822 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...