Re: Connect to specific cluster on command line

From: Carsten Klein <c(dot)klein(at)datagis(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(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:26:03
Message-ID: fb425eb8-4c8a-3fde-aa62-7c02d8ae9019@datagis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aleš Zelený 2022-05-25 16:17:37 Re: Pg14 possible index corruption after reindex concurrently
Previous Message Adrian Klaver 2022-05-25 15:23:20 Re: Connect to specific cluster on command line