pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Fröde <andreas@spider-net.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Connect to specific cluster on command line
Date: Wed, 25 May 2022 16:54:19 +0200
Message-ID: <de8ade0f-4387-cc5e-90f7-212cce2905e3@spider-net.de> (raw)
In-Reply-To: <fb4a1e7c-9251-a7d6-103b-2fdf00e7ff10@datagis.com>
References: <fb28c2b8-445c-0d9b-e12a-0fc827f6c1f8@datagis.com>
	<1923713.1653489317@sss.pgh.pa.us>
	<fb4a1e7c-9251-a7d6-103b-2fdf00e7ff10@datagis.com>

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.






view thread (9+ messages)  latest in thread

Message-ID: <de8ade0f-4387-cc5e-90f7-212cce2905e3@spider-net.de>
Permalink:  ../de8ade0f-4387-cc5e-90f7-212cce2905e3@spider-net.de/
Also on:    postgresql.org/message-id/de8ade0f-4387-cc5e-90f7-212cce2905e3@spider-net.de

 · 

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: andreas@spider-net.de
  Subject: Re: Connect to specific cluster on command line
  In-Reply-To: <de8ade0f-4387-cc5e-90f7-212cce2905e3@spider-net.de>
  References: <fb28c2b8-445c-0d9b-e12a-0fc827f6c1f8@datagis.com> <1923713.1653489317@sss.pgh.pa.us> <fb4a1e7c-9251-a7d6-103b-2fdf00e7ff10@datagis.com> <de8ade0f-4387-cc5e-90f7-212cce2905e3@spider-net.de>

* 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