Re: Connect to specific cluster on command line

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Connect to specific cluster on command line
Дата
Msg-id 1928115.1653490695@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Connect to specific cluster on command line  (Carsten Klein <c.klein@datagis.com>)
Список pgsql-general
Carsten Klein <c.klein@datagis.com> writes:
> So, forget about the packager. With core PostgreSQL tools it is possible 
> to have more than one cluster. How do you specify what cluster to 
> connect to with psql or pg_dump? Do I have to specify the cluster's 
> corresponding Unix domain socket directory via the --host option?

Usually you'd use -p (--port).  You *could* specify the exact path
to the postmaster's socket via -h, but I think that's not idiomatic.

            regards, tom lane



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