Re: Configuring synchronous replication
От | Andrew Dunstan |
---|---|
Тема | Re: Configuring synchronous replication |
Дата | |
Msg-id | 4C99F5C4.4070305@dunslane.net обсуждение исходный текст |
Ответ на | Re: Configuring synchronous replication (Dave Page <dpage@pgadmin.org>) |
Ответы |
Re: Configuring synchronous replication
|
Список | pgsql-hackers |
<br /><br /> On 09/22/2010 07:57 AM, Dave Page wrote: <blockquote cite="mid:AANLkTi=rJuRLv2jv=M5js9YPGLp94bciAWx0FtRei=YD@mail.gmail.com"type="cite"><pre wrap="">On Wed, Sep 22, 2010 at 12:50PM, Peter Eisentraut <a class="moz-txt-link-rfc2396E" href="mailto:peter_e@gmx.net"><peter_e@gmx.net></a> wrote: </pre><blockquote type="cite"><pre wrap="">On ons, 2010-09-22 at 12:20 +0100, Dave Page wrote: </pre><blockquote type="cite"><blockquote type="cite"><pre wrap="">No, it's really not hierarchical. It only has goes onelevel deep. </pre></blockquote><pre wrap=""> I guess pgAdmin/wxWidgets are broken then :-) [Servers] Count=5 [Servers/1] Server=localhost </pre></blockquote><pre wrap=""> Well, by that logic, even what we have now for postgresql.conf is hierarchical. </pre></blockquote><pre wrap=""> Well, yes - if you consider add-in GUCs which use prefixing like foo.setting=... </pre><blockquote type="cite"><pre wrap="">I think the criterion was rather meant to be - can represent hierarchies without repeating intermediate node names </pre></blockquote><pre wrap=""> If this were data, I could understand that as it could lead to tremendous bloat, but as a config file, I'd rather have the readability of the ini format, despite the repeated node names, than have to hack XML files by hand. </pre></blockquote><br /> XML is not the only alternative - please don't use it as a straw man. For example, here is a fragmentfrom the Bacula docs using their hierarchical format:<br /><br /><blockquote><pre>FileSet { Name = Test Include { File = /home/xxx/test Options { regex = ".*\.c$" } } } </pre></blockquote> Or here is a piece from the buildfarm client config (which is in fact perl, but could also be JSON orsimilar fairly easily):<br /><br /><blockquote>mail_events =><br /> {<br /> all => [], <br /> fail =>[],<br /> change => ['<a class="moz-txt-link-abbreviated" href="mailto:foo@bar.com">foo@bar.com</a>', '<a class="moz-txt-link-abbreviated"href="mailto:baz@blurfl.org">baz@blurfl.org</a>' ],<br /> green => [], <br /> },<br/> build_env =><br /> {<br /> CCACHE_DIR => "/home/andrew/pgfarmbuild/ccache/$branch", <br /> },<br /><br/></blockquote><pre> </pre> cheers<br /><br /> andrew<br /><pre> </pre>
В списке pgsql-hackers по дате отправления: