Re: pg_restore to a port where nobody is listening?

From: Daniel Westermann <daniel(dot)westermann(at)dbi-services(dot)com>
To: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore to a port where nobody is listening?
Date: 2016-12-21 17:40:35
Message-ID: 6A7E478F-CDC3-4498-B4D9-8BA6BC5E2F2C@dbi-services.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

It does

Sent from my Phone

> On 21 Dec 2016, at 18:40, Andreas Kretschmer <andreas(at)a-kretschmer(dot)de> wrote:
>
>
>
>> 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

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Olarte 2016-12-21 17:51:11 Re: pg_restore to a port where nobody is listening?
Previous Message Andreas Kretschmer 2016-12-21 17:38:04 Re: pg_restore to a port where nobody is listening?