Re: [GENERAL] pg_restore to a port where nobody is listening? - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: [GENERAL] pg_restore to a port where nobody is listening?
Date
Msg-id 8d9603f1-a772-981f-ba16-5915d80ac675@a-kretschmer.de
Whole thread Raw
In response to [GENERAL] pg_restore to a port where nobody is listening?  (Daniel Westermann <daniel.westermann@dbi-services.com>)
Responses Re: [GENERAL] pg_restore to a port where nobody is listening?
List pgsql-general



Am 21.12.2016 um 18:22 schrieb Daniel Westermann:


Now I try to import into 9.6.1 => the instance is not running but the environment is  set:

postgres@pgbox:/home/postgres/ [PG961] netstat -na | grep 5439
postgres@pgbox:/home/postgres/ [PG961] echo $PGPORT
5439

postgres@pgbox:/home/postgres/ [PG961] pg_restore -V
pg_restore (PostgreSQL) 9.6.1
postgres@pgbox:/home/postgres/ [PG961] pg_restore -h localhost -p 5439 -F d -C -j 2 /var/tmp/exp/

This runs fine but where does it connect to? Nothing is listening on port 5439.


No, that can't run.

Andreas

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] pg_restore to a port where nobody is listening?
Next
From: Daniel Westermann
Date:
Subject: Re: [GENERAL] pg_restore to a port where nobody is listening?