Re: Configuring synchronous replication
Dave Page <dpage@pgadmin.org>
From: Dave Page <dpage@pgadmin.org>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Peter Eisentraut <peter_e@gmx.net>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Tom Lane <tgl@sss.pgh.pa.us>, Thom Brown <thom@linux.com>, Fujii Masao <masao.fujii@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Josh Berkus <josh@agliodbs.com>, pgsql-hackers@postgresql.org
Date: 2010-09-22T12:32:00Z
Lists: pgsql-hackers
On Wed, Sep 22, 2010 at 1:25 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
> XML is not the only alternative - please don't use it as a straw man. For
> example, here is a fragment from the Bacula docs using their hierarchical
> format:
>
> FileSet {
> Name = Test
> Include {
> File = /home/xxx/test
> Options {
> regex = ".*\.c$"
> }
> }
> }
>
> Or here is a piece from the buildfarm client config (which is in fact perl,
> but could also be JSON or similar fairly easily):
>
> mail_events =>
> {
> all => [],
> fail => [],
> change => ['foo@bar.com', 'baz@blurfl.org' ],
> green => [],
> },
> build_env =>
> {
> CCACHE_DIR => "/home/andrew/pgfarmbuild/ccache/$branch",
> },
Both of which I've also used in the past, and also find uncomfortable
and awkward for configuration files.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company