Re: Connect to specific cluster on command line

From: Andreas Fröde <andreas(at)spider-net(dot)de>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Connect to specific cluster on command line
Date: 2022-05-25 14:54:19
Message-ID: de8ade0f-4387-cc5e-90f7-212cce2905e3@spider-net.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2022-05-25 14:57:44 Re: Connect to specific cluster on command line
Previous Message Carsten Klein 2022-05-25 14:48:55 Re: Connect to specific cluster on command line