Re: Configuring synchronous replication

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Thom Brown <thom(at)linux(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Configuring synchronous replication
Date: 2010-09-22 13:01:24
Message-ID: 4C99FE24.9030301@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 09/22/2010 08:32 AM, Dave Page wrote:
> On Wed, Sep 22, 2010 at 1:25 PM, Andrew Dunstan<andrew(at)dunslane(dot)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(at)bar(dot)com', 'baz(at)blurfl(dot)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.
>
>

I can't imagine trying to configure Bacula using ini file format - the
mind just boggles. Frankly, I'd rather stick with our current config
format than change to something as inadequate as ini file format.

cheers

andrew

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-09-22 13:50:39 Re: Configuring synchronous replication
Previous Message Dave Page 2010-09-22 12:32:00 Re: Configuring synchronous replication

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2010-09-22 13:02:09 Re: SQLSTATE of notice PGresult
Previous Message Peter Eisentraut 2010-09-22 12:43:02 Re: BUG #5661: The character encoding in logfile is confusing.