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 6e8947e1d4394082e27f1f8354ae5d4f@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:50, "Laurenz Albe" <laurenz.albe@cybertec.at> schrieb:

> On Fri, 2023-06-16 at 12:35 +0000, Brainmue wrote:
>
>> 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.
>
> There is an existing solution for that: the libpq connection service file:
> https://www.postgresql.org/docs/current/libpq-pgservice.html
>
> If you want to manage the connection strings centrally, you can use LDAP lookup:
> https://www.postgresql.org/docs/current/libpq-ldap.html
>
> Yours,
> Laurenz Albe


Thank you, I already know this solution, but the LDAP solution is out of the question for us and the file again means
anintervention on the client. And that's exactly what we don't want. 



pgsql-general by date:

Previous
From: Ron
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.