Re: Connect to specific cluster on command line - Mailing list pgsql-general

From Tom Lane
Subject Re: Connect to specific cluster on command line
Date
Msg-id 1928115.1653490695@sss.pgh.pa.us
Whole thread Raw
In response to Re: Connect to specific cluster on command line  (Carsten Klein <c.klein@datagis.com>)
List 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 by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Connect to specific cluster on command line
Next
From: Fred Habash
Date:
Subject: pg_create_logical_replication_slot in DB1 is blocked by a session in DB2