Re: pgsql: Introduce replication slots.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Introduce replication slots.
Дата
Msg-id 20140228192238.GK15628@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Introduce replication slots.  (Thom Brown <thom@linux.com>)
Ответы Re: pgsql: Introduce replication slots.  (Thom Brown <thom@linux.com>)
Re: pgsql: Introduce replication slots.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-committers
On 2014-02-28 19:05:40 +0000, Thom Brown wrote:
> On 1 February 2014 03:50, Robert Haas <rhaas@postgresql.org> wrote:
>
> > Introduce replication slots.
> >
> > Replication slots are a crash-safe data structure which can be created
> > on either a master or a standby to prevent premature removal of
> > write-ahead log segments needed by a standby, as well as (with
> > hot_standby_feedback=on) pruning of tuples whose removal would cause
> > replication conflicts.  Slots have some advantages over existing
> > techniques, as explained in the documentation.
> >
> > In a few places, we refer to the type of replication slots introduced
> > by this patch as "physical" slots, because forthcoming patches for
> > logical decoding will also have slots, but with somewhat different
> > properties.
> >
>
> So now that I've actually gone to use physical replication slots, I can't
> get them working.

Aw yuck. Try a shorter name. libpqrcv_startstreaming is truncating the
identifier if it's too long...

Patch fixing that attached.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: pgsql: Introduce replication slots.
Следующее
От: Thom Brown
Дата:
Сообщение: Re: pgsql: Introduce replication slots.