Re: Switch pg_basebackup to use -X stream instead of -X fetch by default?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Switch pg_basebackup to use -X stream instead of -X fetch by default?
Дата
Msg-id 53FCF108.3040003@gmx.net
обсуждение исходный текст
Ответ на Re: Switch pg_basebackup to use -X stream instead of -X fetch by default?  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Switch pg_basebackup to use -X stream instead of -X fetch by default?  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 8/26/14 12:40 PM, Magnus Hagander wrote:
> I think the first reason is gone now, and the risk/damage of the two
> connections is probably smaller than running out of WAL. -x is a good
> default for smaller systems, but -X is a safer one for bigger ones. So
> I agree that changing the default mode would make sense.

I would seriously consider just removing one of the modes.  Having two
modes is complex enough, and then having different defaults in different
versions, and fuzzy recommendations like, it's better for "smaller
systems", it's quite confusing.

I don't think it's a fundamental problem to say, you need 2 connections
to use this feature.  (For example, you need a second connection to
issue a cancel request.  Nobody has ever complained about that.)




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: proposal: rounding up time value less than its unit.
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Switch pg_basebackup to use -X stream instead of -X fetch by default?