Re: add the source of param misconfigurations to error messages

2018-11-13 Thread Tom Lane
Andres Freund writes: > On 2018-11-13 17:33:01 -0500, Tom Lane wrote: >> Seems to me it'd result in an impossibly unwieldy message, especially >> once you realize you might have to deal with other value sources than >> files. Adhering to the translatability guidelines (ie, "don't construct >> mes

Re: add the source of param misconfigurations to error messages

2018-11-13 Thread Andres Freund
Hi, On 2018-11-13 17:33:01 -0500, Tom Lane wrote: > Jordan Deitch writes: > > $ postgres --config-file="/etc/postgresql/10/main/postgresql.conf" > > can fail with the following error: > > postgres: superuser_reserved_connections must be less than max_connections > > > This is due to the addition

Re: add the source of param misconfigurations to error messages

2018-11-13 Thread Tom Lane
Jordan Deitch writes: > $ postgres --config-file="/etc/postgresql/10/main/postgresql.conf" > can fail with the following error: > postgres: superuser_reserved_connections must be less than max_connections > This is due to the addition of the postgresql.auto.conf params. > Would the community wel

add the source of param misconfigurations to error messages

2018-11-13 Thread Jordan Deitch
Hi Hackers - The command $ postgres --config-file="/etc/postgresql/10/main/postgresql.conf" can fail with the following error: postgres: superuser_reserved_connections must be less than max_connections even if max_connections > superuser_reserved_connections in that config file This is due t