Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntstl-0001F5-Mt for pgsql-general@arkaria.postgresql.org; Wed, 25 May 2022 15:26:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ntstk-0006h3-J6 for pgsql-general@arkaria.postgresql.org; Wed, 25 May 2022 15:26:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntstk-0006gu-7j for pgsql-general@lists.postgresql.org; Wed, 25 May 2022 15:26:08 +0000 Received: from smtprelay07.ispgateway.de ([134.119.228.97]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntsti-00056y-DG for pgsql-general@lists.postgresql.org; Wed, 25 May 2022 15:26:07 +0000 Received: from [109.90.124.214] (helo=mail.office.datagis.com) by smtprelay07.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ntstg-0006Br-19; Wed, 25 May 2022 17:26:04 +0200 Received: from localhost (intranator.datagis.local [127.0.0.1]) by localhost (Postfix) with ESMTP id C6FFC292; Wed, 25 May 2022 17:26:03 +0200 (CEST) X-Virus-Scanned: by Intra2net Mail Security (AVE=8.3.64.148,VDF=8.19.16.46) X-Spam-Status: X-Spam-Level: 0 Received: from [192.168.12.10] (dslb-178-008-249-198.178.008.pools.vodafone-ip.de [178.8.249.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: smtp-auth-user) by mail.office.datagis.com (Postfix) with ESMTPSA id DBF4823A; Wed, 25 May 2022 17:26:02 +0200 (CEST) Message-ID: Date: Wed, 25 May 2022 17:26:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: Connect to specific cluster on command line Content-Language: en-US To: "David G. Johnston" Cc: Tom Lane , "pgsql-general@lists.postgresql.org" References: <1923713.1653489317@sss.pgh.pa.us> From: Carsten Klein Organization: DataGis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Df-Sender: NTkwMDE1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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