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 F2E469FA5C8 for ; Thu, 8 Jun 2006 12:57:07 -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 72591-03 for ; Thu, 8 Jun 2006 12:57:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 0F9989F9EF3 for ; Thu, 8 Jun 2006 12:57:04 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.3 Received: from mailout09.yourhostingaccount.com (outmail74.yourhostingaccount.com [65.254.253.74]) by svr4.postgresql.org (Postfix) with ESMTP id 460AF5AF024 for ; Thu, 8 Jun 2006 15:57:04 +0000 (GMT) Received: from scan13.yourhostingaccount.com ([10.1.1.243] helo=scan13.yourhostingaccount.com) by mailout09.yourhostingaccount.com with esmtp (Exim) id 1FoMsY-0000Ym-Cu for pgsql-odbc@postgresql.org; Thu, 08 Jun 2006 11:57:02 -0400 Received: from [10.1.16.11] (ident=exim) by scan13.yourhostingaccount.com with spamscanlookuphost (Exim) id 1FoMsY-0004tP-93 for pgsql-odbc@postgresql.org; Thu, 08 Jun 2006 11:57:02 -0400 Received: from [10.1.16.11] (helo=webmail11.yourhostingaccount.com) by scan13.yourhostingaccount.com with esmtp (Exim) id 1FoMsX-0004tI-RG for pgsql-odbc@postgresql.org; Thu, 08 Jun 2006 11:57:01 -0400 Received: from nobody by webmail11.yourhostingaccount.com with local (Exim) id 1FoMs3-0008Lv-5H for pgsql-odbc@postgresql.org; Thu, 08 Jun 2006 11:56:31 -0400 Content-Disposition: inline Content-Transfer-Encoding: binary Mime-Version: 1.0 From: "Mr. DBA" To: pgsql-odbc@postgresql.org Subject: Connect to remote database via psql? 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: Thu, 08 Jun 2006 11:56:31 -0400 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.489 tagged_above=0 required=5 tests=AWL, BAYES_00, DNS_FROM_RFC_WHOIS, SPF_NEUTRAL X-Spam-Level: X-Archive-Number: 200606/36 X-Sequence-Number: 7784 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?