Re: [COMMITTERS] pgsql: Disallow newlines in parameter values to be set in ALTER SYSTEM.

2016-04-05 Thread Tom Lane
Oleg Bartunov writes: > On Tue, Apr 5, 2016 at 9:05 AM, Oleg Bartunov wrote: >> it's also fixed problem with setting parameter to ''. Before >> alter system SET shared_preload_libraries = ''; > Ooops, it doesn't :( > FATAL: could not access file "": No such file or directory > cat /usr/local/

Re: [COMMITTERS] pgsql: Disallow newlines in parameter values to be set in ALTER SYSTEM.

2016-04-04 Thread Oleg Bartunov
On Tue, Apr 5, 2016 at 9:05 AM, Oleg Bartunov wrote: > > > On Tue, Apr 5, 2016 at 1:05 AM, Tom Lane wrote: > >> Disallow newlines in parameter values to be set in ALTER SYSTEM. >> > > it's also fixed problem with setting parameter to ''. Before > > alter system SET shared_preload_libraries = '';

Re: [COMMITTERS] pgsql: Disallow newlines in parameter values to be set in ALTER SYSTEM.

2016-04-04 Thread Oleg Bartunov
On Tue, Apr 5, 2016 at 1:05 AM, Tom Lane wrote: > Disallow newlines in parameter values to be set in ALTER SYSTEM. > it's also fixed problem with setting parameter to ''. Before alter system SET shared_preload_libraries = ''; produced wrong postgresql.auto.conf and the only way was to use RESE

[COMMITTERS] pgsql: Disallow newlines in parameter values to be set in ALTER SYSTEM.

2016-04-04 Thread Tom Lane
Disallow newlines in parameter values to be set in ALTER SYSTEM. As noted by Julian Schauder in bug #14063, the configuration-file parser doesn't support embedded newlines in string literals. While there might someday be a good reason to remove that restriction, there doesn't seem to be one right

[COMMITTERS] pgsql: Disallow newlines in parameter values to be set in ALTER SYSTEM.

2016-04-04 Thread Tom Lane
Disallow newlines in parameter values to be set in ALTER SYSTEM. As noted by Julian Schauder in bug #14063, the configuration-file parser doesn't support embedded newlines in string literals. While there might someday be a good reason to remove that restriction, there doesn't seem to be one right

[COMMITTERS] pgsql: Disallow newlines in parameter values to be set in ALTER SYSTEM.

2016-04-04 Thread Tom Lane
Disallow newlines in parameter values to be set in ALTER SYSTEM. As noted by Julian Schauder in bug #14063, the configuration-file parser doesn't support embedded newlines in string literals. While there might someday be a good reason to remove that restriction, there doesn't seem to be one right