Re: Connect to specific cluster on command line

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Carsten Klein <c(dot)klein(at)datagis(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Connect to specific cluster on command line
Date: 2022-05-25 15:05:11
Message-ID: CAKFQuwaS-Uik9UvKjtK+zovhkSRt3marCayxP04Ly61tqYs7Rw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday, May 25, 2022, Carsten Klein <c(dot)klein(at)datagis(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-05-25 15:23:20 Re: Connect to specific cluster on command line
Previous Message Fred Habash 2022-05-25 15:01:43 pg_create_logical_replication_slot in DB1 is blocked by a session in DB2