pgbouncer configuration

Поиск
Список
Период
Сортировка
От Chris Stephens
Тема pgbouncer configuration
Дата
Msg-id CAEFL0syTvyKTVkdTu+gda0Nrh8Evfp+3pTb1wGPgLeXBQXjVmw@mail.gmail.com
обсуждение исходный текст
Ответы Re: pgbouncer configuration  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-general
I'm trying to run pgbouncer but am having trouble with what looks like a very simple configuration.

centos 7
postgres 12
pgbouncer 1.15

we are already using pam for database auth. pgbouncer was compiled with --with-pam. there is a /etc/pam.d/pgbouncer config file copied from the one currently being used for postgres auth.

i can list the whole config file if needed but i get the following when trying to start pgbouncer up:

[postgres@lsst-pgsql02 ~]$ pgbouncer  -d /etc/pgbouncer/pgbouncer.ini
2021-04-27 19:37:34.256 CDT [10653] ERROR invalid value "pam" for parameter auth_type in configuration (/etc/pgbouncer/pgbouncer.ini:118)
2021-04-27 19:37:34.256 CDT [10653] FATAL cannot load config file

[postgres@lsst-pgsql02 pgbouncer]$ egrep "auth_type" pgbouncer.ini
auth_type = pam

any ideas? 

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: very long secondary->primary switch time
Следующее
От: Tomas Pospisek
Дата:
Сообщение: Re: very long secondary->primary switch time