Re: Allow workers to override datallowconn

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Allow workers to override datallowconn
Дата
Msg-id 20180222192646.q3tdcfdmetmmmpz7@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Allow workers to override datallowconn  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Allow workers to override datallowconn
Список pgsql-hackers
Hi,

On 2018-02-22 20:24:03 +0100, Magnus Hagander wrote:
> In a background worker you can just set the parameter using
> SetConfigOption(), no? That seems a lot easier than turning things in to a
> kv pair and back...

Sure, but, it doesn't seem bad to offer the option to only allow this
for code running as superuser.


> I can see the point for having such a parameter for pg_upgrade, but I'm not
> sure we'd necessarily want to overload them.

What's the argument against?

Greetings,

Andres Freund


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Online enabling of checksums
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Allow workers to override datallowconn