how to connect remote database

From: Srinivasa R Chava <s(dot)chava(at)wcom(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: how to connect remote database
Date: 2001-07-16 19:03:05
Message-ID: 3B533A69.812F20F7@wcom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hai,
How to connect the database from remote client ,using psql
In oracle we use the command like the following one at sqlplus
prompt.
Sqlplus> username/password(at)hostname

How to do it in postgresql
I tried like this
psql dabasename username(at)hostname

It is not working.

Can anybody has an idea?
Thanks
chava
--

Srinivasa R Chava (Chava) <s(dot)chava(at)wcom(dot)com>
Application Developer
Corporate Intra/Internet Systems
WORLDCOM - http://www.worldcom.com/ - NASDAQ:WCOM
500 Clinton Center Drive (Corporate Headquarters)
Clinton, Mississippi (MS) USA 39056
(601)460-3122 / vnet4603122 / (800)844-1009 / FAX(601)460-8257

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message berger, ralf 2001-07-16 19:18:41 AW: psql and lo_import
Previous Message Stephan Szabo 2001-07-16 18:51:42 Re: REFRENTIAL INTEGRITY CHECKING