Re: Support for N synchronous standby servers - take 2 - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Support for N synchronous standby servers - take 2
Date
Msg-id 55DFBC8C.30504@BlueTreble.com
Whole thread Raw
In response to Re: Support for N synchronous standby servers - take 2  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 8/4/15 9:18 PM, Michael Paquier wrote:
>> >And using a new file with multi line support would be good.
> This file just contains a JSON blob, hence we just need to fetch its
> content entirely and then let the server parse it using the existing
> facilities.

It sounds like there's other places where multiline GUCs would be 
useful, so I think we should just support that instead of creating 
something that only works for SR configuration.

I also don't see the problem with supporting multi-line GUCs that are 
wrapped in quotes. Yes, you miss a quote and things blow up, but so 
what? Anyone that's done any amount of programming has faced that 
problem. Heck, if we wanted to be fancy we could watch for the first 
line that could have been another GUC and stick that in a hint.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: psql - better support pipe line
Next
From: Michael Paquier
Date:
Subject: Re: pg_extension_config_dump() doesn't register owned sequences