Re: Remote connection via psql - Mailing list pgsql-general

From dima
Subject Re: Remote connection via psql
Date
Msg-id 3D76197D.1040904@mail.ru
Whole thread Raw
In response to Remote connection via psql  (Francois Suter <dba@paragraf.ch>)
List 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



pgsql-general by date:

Previous
From: Francois Suter
Date:
Subject: Remote connection via psql
Next
From: Tom Lane
Date:
Subject: Re: Remote connection via psql