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
|
| Список | 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 по дате отправления: