From: Tom Lane <tgl@sss.pgh.pa.us>
To: Carsten Klein <c.klein@datagis.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Connect to specific cluster on command line
Date: Wed, 25 May 2022 10:35:17 -0400
Message-ID: <1923713.1653489317@sss.pgh.pa.us> (raw)
In-Reply-To: <fb28c2b8-445c-0d9b-e12a-0fc827f6c1f8@datagis.com>
References: <fb28c2b8-445c-0d9b-e12a-0fc827f6c1f8@datagis.com>
Carsten Klein <c.klein@datagis.com> writes:
> how can I connect to a specific cluster on the command line, e. g. with
> psql, pg_dump or pg_dumpall?
> pg_lsclusters returns a list of all clusters available:
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.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, c.klein@datagis.com
Subject: Re: Connect to specific cluster on command line
In-Reply-To: <1923713.1653489317@sss.pgh.pa.us>
References: <fb28c2b8-445c-0d9b-e12a-0fc827f6c1f8@datagis.com> <1923713.1653489317@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox