Re: pgsql: Introduce replication slots. - Mailing list pgsql-committers

From Robert Haas
Subject Re: pgsql: Introduce replication slots.
Date
Msg-id CA+TgmoYNC4yPUJmbuP0+P-nzjgc3GPDgjwC+JwxCSFtTjdDAWw@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Introduce replication slots.  (Andres Freund <andres@2ndquadrant.com>)
List 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 by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Use a longer buffer in libpqrcv_startstreaming.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: pg_dump et al: Add --if-exists option