From: | Francisco Olarte <folarte(at)peoplecall(dot)com> |
---|---|
To: | Daniel Westermann <daniel(dot)westermann(at)dbi-services(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg_restore to a port where nobody is listening? |
Date: | 2016-12-21 17:51:11 |
Message-ID: | CA+bJJby10zJV90QDqMs4LHOTKj_1gw7ETb7_TKhPQHydvLu_bQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Dec 21, 2016 at 6:22 PM, Daniel Westermann
<daniel(dot)westermann(at)dbi-services(dot)com> wrote:
> I have a PostgreSQL 9.5.4 and a PostgreSQL 9.6.1 instance installed on the
> same host.
....
.....
> What do I miss? I can give any port to pg_restore and it just seems to be
> fine.
mmmm, are you by chance using debian/ubuntu/any derivative? Maybe
pg_restore is not directly executed. In Ubuntu I have this:
$ type -path pg_restore
/usr/bin/pg_restore
$ file /usr/bin/pg_restore
/usr/bin/pg_restore: symbolic link to ../share/postgresql-common/pg_wrapper
$ file /usr/share/postgresql-common/pg_wrapper
/usr/share/postgresql-common/pg_wrapper: Perl script text executable
And that pg_wrapper thingie has the habit of completely fscking my
connection options / service files ( even though I do not have a
server installed, I only install teh client programs to connect to the
remote servers ).
You could check with type/file wether you have something similar.
Francisco Olarte.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2016-12-21 17:52:59 | Re: pg_restore to a port where nobody is listening? |
Previous Message | Daniel Westermann | 2016-12-21 17:40:35 | Re: pg_restore to a port where nobody is listening? |