Re: pgsql: Introduce replication slots.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pgsql: Introduce replication slots.
Дата
Msg-id CA+TgmoYNC4yPUJmbuP0+P-nzjgc3GPDgjwC+JwxCSFtTjdDAWw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Introduce replication slots.  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-committers
On Fri, Feb 28, 2014 at 2:22 PM, Andres Freund <andres@2ndquadrant.com> wrote:
>> 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.

Committed, although I wonder if we shouldn't be doing something more
sophisticated here to avoid the need to guess how long the command
could be.  Like, maybe using psprintf()?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Use a longer buffer in libpqrcv_startstreaming.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: pg_dump et al: Add --if-exists option