Re: Support for N synchronous standby servers - take 2

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Support for N synchronous standby servers - take 2
Дата
Msg-id 55DFBC8C.30504@BlueTreble.com
обсуждение исходный текст
Ответ на Re: Support for N synchronous standby servers - take 2  (Michael Paquier <michael.paquier@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: psql - better support pipe line
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pg_extension_config_dump() doesn't register owned sequences