From: Mr. DBA <dba@ciberforce.net>
To: pgsql-odbc@postgresql.org
Subject: Connect to remote database via psql?
Date: Thu, 08 Jun 2006 11:56:31 -0400
Message-ID: <E1FoMs3-0008Lv-5H@webmail11.yourhostingaccount.com> (raw)
Hi List;
I've setup an ODBC connection from my Linux/Postgres laptop to a Lunux/postgres server. I can connect via isql to the remote database.
How can I select data from the remote database from within an sql statement in psql on my local machine?
For example I'd like to be able to specify the server@database.table to connect on the fly from straight SQL.
Is this possible?
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: Connect to remote database via psql?
In-Reply-To: <E1FoMs3-0008Lv-5H@webmail11.yourhostingaccount.com>
References: <E1FoMs3-0008Lv-5H@webmail11.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