Re: proposal: a validator for configuration files
От | Alvaro Herrera |
---|---|
Тема | Re: proposal: a validator for configuration files |
Дата | |
Msg-id | 1310769368-sup-1025@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: proposal: a validator for configuration files (Alexey Klyukin <alexk@commandprompt.com>) |
Ответы |
Re: proposal: a validator for configuration files
|
Список | pgsql-hackers |
Excerpts from Alexey Kluykin's message of jue jul 14 09:18:15 -0400 2011: > > On Jul 14, 2011, at 4:38 AM, Alvaro Herrera wrote: > > >> On Jul14, 2011, at 01:38 , Alvaro Herrera wrote: > This is happening because a check for total number of errors so far is happening only after coming across at least onenon-recognized configuration option. What about adding one more check right after ParseConfigFile, so we can bail outearly when overwhelmed with syntax errors? This would save a line in translation :). Actually I think it would make sense to do it completely the other way around: reset the number of errors to zero before starting to apply the values. The rationale is that all the settings that made it past the tokenisation are completely different lines for which the errors were reported earlier. > > I know I'd feel more comfortable if you (and Alexey, and Selena) gave it > > another look :-) > > I have checked it here and don't see any more problems with it. Thanks. -- Álvaro Herrera <alvherre@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления: