pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brainmue <brainmue@weiller.eu>
To: Dominique Devienne <ddevienne@gmail.com>
To: Thomas Markus <t.markus@proventis.net>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Question: Multiple pg clusters on one server can be reached with the standard port.
Date: Mon, 19 Jun 2023 11:30:54 +0000
Message-ID: <d4f1602054e047f54cb93b0ec74c61e1@weiller.eu> (raw)
In-Reply-To: <CAFCRh-9nxiWZ+fJ-eCSPQnU9RrE0JDBpggUpgwMmVoau0RJy=g@mail.gmail.com>
References: <CAFCRh-9nxiWZ+fJ-eCSPQnU9RrE0JDBpggUpgwMmVoau0RJy=g@mail.gmail.com>
	<0c2dd853-08ec-dbed-00c3-a680ae711d89@proventis.net>
	<71943c04e05c3c13d5cd2b287909f351@weiller.eu>
	<d869925784c9af50aa4379d4ab5ffae2@weiller.eu>
	<c5f9c9b4-7a1f-8a35-406c-d7cc34285bcd@proventis.net>
	<20230619103335.xyagd43uhneducxz@hjp.at>
	<0894245c-d056-b9e5-62f5-c0ed39ad7ff1@proventis.net>

19. Juni 2023 13:17, "Dominique Devienne" <ddevienne@gmail.com> schrieb:

> On Mon, Jun 19, 2023 at 1:01 PM Thomas Markus <t.markus@proventis.net> wrote:
> 
>> Am 19.06.23 um 12:33 schrieb Peter J. Holzer:
>>> As Francisco already pointed out, this can't work with nginx either.
>> anyway, fw or nginx cant look into tcp streams
> Traefik can proxy PostgreSQL, I've read, so maybe that's something you could try.

Thanks for the tip.
As I understand Traefik but he can also only the same as HAProxy.
So he does not read the protocol itself and can not make the distribution.
PGBouncer can actually do it and it also forwards to different backends.
But we are not finished with the tests yet.
But it looks already good.

Regards
Michael





view thread (37+ messages)  latest in thread

Message-ID: <d4f1602054e047f54cb93b0ec74c61e1@weiller.eu>
Permalink:  ../d4f1602054e047f54cb93b0ec74c61e1@weiller.eu/
Also on:    postgresql.org/message-id/d4f1602054e047f54cb93b0ec74c61e1@weiller.eu

 · 

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: brainmue@weiller.eu, ddevienne@gmail.com, t.markus@proventis.net
  Subject: Re: Question: Multiple pg clusters on one server can be reached with the standard port.
  In-Reply-To: <d4f1602054e047f54cb93b0ec74c61e1@weiller.eu>
  References: <CAFCRh-9nxiWZ+fJ-eCSPQnU9RrE0JDBpggUpgwMmVoau0RJy=g@mail.gmail.com> <0c2dd853-08ec-dbed-00c3-a680ae711d89@proventis.net> <71943c04e05c3c13d5cd2b287909f351@weiller.eu> <d869925784c9af50aa4379d4ab5ffae2@weiller.eu> <c5f9c9b4-7a1f-8a35-406c-d7cc34285bcd@proventis.net> <20230619103335.xyagd43uhneducxz@hjp.at> <0894245c-d056-b9e5-62f5-c0ed39ad7ff1@proventis.net> <d4f1602054e047f54cb93b0ec74c61e1@weiller.eu>

* 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