Re: SQL command to edit postgresql.conf, with comments
От | Dimitri Fontaine |
---|---|
Тема | Re: SQL command to edit postgresql.conf, with comments |
Дата | |
Msg-id | m2k4lmvzw4.fsf@2ndQuadrant.fr обсуждение исходный текст |
Ответ на | Re: SQL command to edit postgresql.conf, with comments (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: SQL command to edit postgresql.conf, with comments
|
Список | pgsql-hackers |
Tom Lane <tgl@sss.pgh.pa.us> writes: > I'm not sure if anybody is particularly against the initial contents > looking like that. The big problem, which both you and Dimitri are > conveniently ignoring, is that if people are allowed to hand-edit > the file they are going to introduce comments that no mechanical > parser will do a nice job of preserving. IMO the only reason why my proposal is sound is that is address the point. Consider: cat postgresql.conf.d/work_mem 16MB This database needs at least such a value. Note it's overridden in some ROLEs setup. With such a format (name is filename, value is first line content's, rest is comments), it's easy to preserve comments and have them machine editable. What do I miss? Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
В списке pgsql-hackers по дате отправления: