Re: use GUC for cmdline

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: use GUC for cmdline
Дата
Msg-id 28267.993167444@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: use GUC for cmdline  (Marko Kreen <marko@l-t.ee>)
Ответы Re: use GUC for cmdline  (Marko Kreen <marko@l-t.ee>)
Список pgsql-patches
Marko Kreen <marko@l-t.ee> writes:
>> This seems like an appropriate fix.  I would recommend doing the same
>> with all the option switch settings that are protected with "if
>> (secure)".  This is not a hack: essentially it says we will treat
>> options passed to the postmaster with -o as postmaster-time options.

> -                if (secure)
> -                    SetConfigOption("shared_buffers", optarg, ctx, true);
> +                SetConfigOption("shared_buffers", optarg, secure_ctx, true);

Uh, removing the security checks is NOT what I had in mind.  Wasn't
my example clear enough?

            regards, tom lane

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

Предыдущее
От: Marko Kreen
Дата:
Сообщение: Re: use GUC for cmdline
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: use GUC for cmdline