Re: [GENERAL] Allow login on slave only

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Allow login on slave only
Дата
Msg-id 13245.1481905709@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [GENERAL] Allow login on slave only  ("Andomar" <andomar@aule.net>)
Список pgsql-general
"Andomar" <andomar@aule.net> writes:
> We run a master server and a hot standby server. Reporting users login to
> the standby server to run long queries. However, their login is also valid
> on the master server. Is it possible to prevent a user from logging in to
> the master server?

You could use different pg_hba.conf files on master and slave.  Or there's
always packet filtering...

            regards, tom lane


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