From: Brainmue <brainmue@weiller.eu>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Question: Multiple pg clusters on one server can be reached with the standard port.
Date: Fri, 16 Jun 2023 12:35:04 +0000
Message-ID: <a846bc8650c4e4299a7c9324f057b857@weiller.eu> (raw)
In-Reply-To: <6ba275cd2d442a913a234564aeaec27311ec1d16.camel@cybertec.at>
References: <6ba275cd2d442a913a234564aeaec27311ec1d16.camel@cybertec.at>
<71943c04e05c3c13d5cd2b287909f351@weiller.eu>
16. Juni 2023 14:13, "Laurenz Albe" <laurenz.albe@cybertec.at> schrieb:
> On Fri, 2023-06-16 at 09:40 +0000, Brainmue wrote:
>
>> I am currently looking for a solution similar to Oracle Listener.
>
> Can you explain why? Perhaps there exists a good solution for the
> underlying problem.
>
> Yours,
> Laurenz Albe
Hello Laurenz,
I can try.
We want to minimise dependencies between the application and the associated PostgreSQL DB.
The idea is that the application gets its DB alias and this is then used as a connection string.
This way we can decide in the backend on which server the PostgreSQL DB is running.
We can manage very flexible moves without informing the application or even requiring changes from them.
Of course, there would also be the solution of always assigning a certain fixed port to each application, but we have a lot of network segmentation with many firewalls in between.
This would require a lot of organisational effort.
That is the idea behind it.
Regards,
Michael
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, laurenz.albe@cybertec.at
Subject: Re: Question: Multiple pg clusters on one server can be reached with the standard port.
In-Reply-To: <a846bc8650c4e4299a7c9324f057b857@weiller.eu>
References: <6ba275cd2d442a913a234564aeaec27311ec1d16.camel@cybertec.at> <71943c04e05c3c13d5cd2b287909f351@weiller.eu> <a846bc8650c4e4299a7c9324f057b857@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