Marko Kreen <marko(at)l-t(dot)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