Re: [GENERAL] pg_restore to a port where nobody is listening?

Поиск
Список
Период
Сортировка
От Francisco Olarte
Тема Re: [GENERAL] pg_restore to a port where nobody is listening?
Дата
Msg-id CA+bJJby10zJV90QDqMs4LHOTKj_1gw7ETb7_TKhPQHydvLu_bQ@mail.gmail.com
обсуждение исходный текст
Ответ на [GENERAL] pg_restore to a port where nobody is listening?  (Daniel Westermann <daniel.westermann@dbi-services.com>)
Список pgsql-general
On Wed, Dec 21, 2016 at 6:22 PM, Daniel Westermann
<daniel.westermann@dbi-services.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.


В списке pgsql-general по дате отправления:

Предыдущее
От: Daniel Westermann
Дата:
Сообщение: Re: [GENERAL] pg_restore to a port where nobody is listening?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] pg_restore to a port where nobody is listening?