pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carsten Klein <c.klein@datagis.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Connect to specific cluster on command line
Date: Wed, 25 May 2022 17:26:03 +0200
Message-ID: <fb425eb8-4c8a-3fde-aa62-7c02d8ae9019@datagis.com> (raw)
In-Reply-To: <CAKFQuwaS-Uik9UvKjtK+zovhkSRt3marCayxP04Ly61tqYs7Rw@mail.gmail.com>
References: <fb28c2b8-445c-0d9b-e12a-0fc827f6c1f8@datagis.com>
	<1923713.1653489317@sss.pgh.pa.us>
	<fb4a1e7c-9251-a7d6-103b-2fdf00e7ff10@datagis.com>
	<CAKFQuwaS-Uik9UvKjtK+zovhkSRt3marCayxP04Ly61tqYs7Rw@mail.gmail.com>

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





view thread (9+ messages)

Message-ID: <fb425eb8-4c8a-3fde-aa62-7c02d8ae9019@datagis.com>
Permalink:  ../fb425eb8-4c8a-3fde-aa62-7c02d8ae9019@datagis.com/
Also on:    postgresql.org/message-id/fb425eb8-4c8a-3fde-aa62-7c02d8ae9019@datagis.com

 · 

reply

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: c.klein@datagis.com, david.g.johnston@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Connect to specific cluster on command line
  In-Reply-To: <fb425eb8-4c8a-3fde-aa62-7c02d8ae9019@datagis.com>
  References: <fb28c2b8-445c-0d9b-e12a-0fc827f6c1f8@datagis.com> <1923713.1653489317@sss.pgh.pa.us> <fb4a1e7c-9251-a7d6-103b-2fdf00e7ff10@datagis.com> <CAKFQuwaS-Uik9UvKjtK+zovhkSRt3marCayxP04Ly61tqYs7Rw@mail.gmail.com> <fb425eb8-4c8a-3fde-aa62-7c02d8ae9019@datagis.com>

* 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