Re: Updated version of pg_receivexlog

Поиск
Список
Период
Сортировка
От Ants Aasma
Тема Re: Updated version of pg_receivexlog
Дата
Msg-id CA+CSw_s4gAm=hQHANwDyABztfJ_qdS1mQDeHLtLv8AHtsosE=Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Updated version of pg_receivexlog  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Updated version of pg_receivexlog  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Thu, Sep 29, 2011 at 11:30 PM, Magnus Hagander <magnus@hagander.net> wrote:
>> it doesn't say that is not possible to use this for a standby
>> server... probably that's why i get the error i put a recovery.conf
>> after pg_basebackup finished... maybe we can say that  more loudly?
>
> The idea is, if you use it with -x (or --xlog), it's for taking a
> backup/clone, *not* for replication.
>
> If you use it without -x, then you can use it as the start of a
> replica, by adding a recovery.conf.
>
> But you can't do both at once, that will confuse it.

I stumbled upon this again today. There's nothing in the docs that
would even hint that using -x shouldn't work to create a replica. Why
does it get confused and can we (easily) make it not get confused? At
the very least it needs a big fat warning in documentation for the -x
option that the resulting backup might not be usable as a standby.

Ants Aasma
--
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de


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

Предыдущее
От: Ants Aasma
Дата:
Сообщение: Re: 9.2beta1, parallel queries, ReleasePredicateLocks, CheckForSerializableConflictIn in the oprofile
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [RFC] Interface of Row Level Security