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

From Carsten Klein
Subject Re: Connect to specific cluster on command line
Date
Msg-id fb425eb8-4c8a-3fde-aa62-7c02d8ae9019@datagis.com
Whole thread Raw
In response to Re: Connect to specific cluster on command line  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
On Wed 2022-05-25 at 17:05 David G. Johnston wrote:

> 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.

You are completely right. For example, /usr/bin/pg_dump is a Perl script 
which evaluates the --cluster option and then calls the real PG tool.

@all Many thanks for all helpful suggestions :)

Regards, Carsten



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Connect to specific cluster on command line
Next
From: Aleš Zelený
Date:
Subject: Re: Pg14 possible index corruption after reindex concurrently