Re: pg_restore to a port where nobody is listening?

From: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore to a port where nobody is listening?
Date: 2016-12-21 17:38:04
Message-ID: 8d9603f1-a772-981f-ba16-5915d80ac675@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pgbox:/home/postgres/ [PG961] netstat -na | grep 5439
> postgres(at)pgbox:/home/postgres/ [PG961] echo $PGPORT
> 5439
>
> postgres(at)pgbox:/home/postgres/ [PG961] pg_restore -V
> pg_restore (PostgreSQL) 9.6.1
> postgres(at)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Westermann 2016-12-21 17:40:35 Re: pg_restore to a port where nobody is listening?
Previous Message Adrian Klaver 2016-12-21 17:32:57 Re: pg_restore to a port where nobody is listening?