Re: Remote connection via psql

From: dima <_pppp(at)mail(dot)ru>
To: Francois Suter <dba(at)paragraf(dot)ch>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Remote connection via psql
Date: 2002-09-04 14:32:29
Message-ID: 3D76197D.1040904@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Francois Suter wrote:
> I used psql a lot and generally work directly on my development server. Now
> sometimes I am on another machine, but when I try to acces the database with
> something like this:
>
> psql -d dbname -U username -h 192.168.1.2
>
> I get the following message: "psql: unknown host name: 192.168.1.2"
try another syntax:
$ psql -U username -h 192.168.1.2 dbname
it works ok here

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-09-04 14:37:15 Re: Remote connection via psql
Previous Message Francois Suter 2002-09-04 14:17:54 Remote connection via psql