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 1nttbS-0002oY-VB for pgsql-general@arkaria.postgresql.org; Wed, 25 May 2022 16:11:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nttbR-0003AD-Rh for pgsql-general@arkaria.postgresql.org; Wed, 25 May 2022 16:11:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntsP6-00026C-AW for pgsql-general@lists.postgresql.org; Wed, 25 May 2022 14:54:28 +0000 Received: from merlin.spider-net.de ([85.214.229.243]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ntsOz-0000YP-Or for pgsql-general@lists.postgresql.org; Wed, 25 May 2022 14:54:27 +0000 Received: from [192.168.178.51] (i59F7AC24.versanet.de [89.247.172.36]) by merlin.spider-net.de (Postfix) with ESMTPSA id C919C1E1DF1 for ; Wed, 25 May 2022 14:54:19 +0000 (UTC) Message-ID: Date: Wed, 25 May 2022 16:54:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: Connect to specific cluster on command line Content-Language: en-US To: pgsql-general@lists.postgresql.org References: <1923713.1653489317@sss.pgh.pa.us> From: =?UTF-8?Q?Andreas_Fr=c3=b6de?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/25/22 16:48, Carsten Klein wrote: > So, forget about the packager. With core PostgreSQL tools it is possible > to have more than one cluster. How do you specify what cluster to > connect to with psql or pg_dump? psql, pg_dump and friends know the -p (or --port) option. Maybe man psql and man pg_dump are your friends.