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