Re: Question: Multiple pg clusters on one server can be reached with the standard port. - Mailing list pgsql-general

From Brainmue
Subject Re: Question: Multiple pg clusters on one server can be reached with the standard port.
Date
Msg-id a846bc8650c4e4299a7c9324f057b857@weiller.eu
Whole thread Raw
In response to Re: Question: Multiple pg clusters on one server can be reached with the standard port.  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Question: Multiple pg clusters on one server can be reached with the standard port.
List pgsql-general
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
lotof network segmentation with many firewalls in between. 
This would require a lot of organisational effort.
That is the idea behind it.

Regards,
Michael



pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Question: Multiple pg clusters on one server can be reached with the standard port.
Next
From: Laurenz Albe
Date:
Subject: Re: Question: Multiple pg clusters on one server can be reached with the standard port.