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

From David G. Johnston
Subject Re: Connect to specific cluster on command line
Date
Msg-id CAKFQuwaS-Uik9UvKjtK+zovhkSRt3marCayxP04Ly61tqYs7Rw@mail.gmail.com
Whole thread Raw
In response to Re: Connect to specific cluster on command line  (Carsten Klein <c.klein@datagis.com>)
Responses Re: Connect to specific cluster on command line
List pgsql-general
On Wednesday, May 25, 2022, Carsten Klein <c.klein@datagis.com> wrote:


pg_lsclusters is not part of core Postgres, and neither is this
--cluster option you mention.  I'm vaguely aware that some packager
(Debian I think) has added an overlay of that sort; but you'd need
to consult the package-level documentation not the community docs
in order to find out more.


Sorry, my fault, it's Debian/Ubuntu. Actually they must have added the --cluster option to the PG programs through source code patches...

IIRC they write wrapper scripts they put into the version-agnostic bin directory that deal with the version/cluster-name scheme they’ve setup before calling the core commands located in the version-specific install directory.

David J.

pgsql-general by date:

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