Re: Question: Multiple pg clusters on one server can be reached with the standard port.
В списке pgsql-general по дате отправления:
| От | Ron |
|---|---|
| Тема | Re: Question: Multiple pg clusters on one server can be reached with the standard port. |
| Дата | |
| Msg-id | affaaa6c-98fb-0bd3-8eb7-b56907075014@gmail.com обсуждение |
| Ответ на | Re: Question: Multiple pg clusters on one server can be reached with the standard port. (Laurenz Albe <laurenz.albe@cybertec.at>) |
| Список | pgsql-general |
On 6/16/23 10:19, Laurenz Albe wrote: > On Fri, 2023-06-16 at 09:04 -0500, Ron wrote: >> On 6/16/23 07:50, Laurenz Albe wrote: >>> 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 >> Do JDBC and ODBC recognize .pg_service.conf? I know they don't recognize >> .pgpass. > JDBC doesn't, because it does not use libpq. > > ODBC can use both .pgpass and .pg_service.conf, since it uses libpq. All of the applications that we use are written in Java, so that wouldn't work. -- Born in Arizona, moved to Babylonia.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера