Re: Connect to specific cluster on command line

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Carsten Klein <c(dot)klein(at)datagis(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Connect to specific cluster on command line
Date: 2022-05-25 14:35:17
Message-ID: 1923713.1653489317@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Carsten Klein <c(dot)klein(at)datagis(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2022-05-25 14:38:24 Re: existing row not found by SELECT ... WHERE CTID = ?
Previous Message Ravi Krishna 2022-05-25 14:30:16 Re: existing row not found by SELECT ... WHERE CTID = ?