mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 16:26:30 -04:00
Use a longer buffer in libpqrcv_startstreaming.
Because of the new SLOT clause in the START_REPLICATION command, it's possible for the command to end up too long for the old maximum buffer length. Andres Freund
This commit is contained in:
parent
a8e9b86b5e
commit
34c6d9611d
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ libpqrcv_identify_system(TimeLineID *primary_tli)
|
|||
static bool
|
||||
libpqrcv_startstreaming(TimeLineID tli, XLogRecPtr startpoint, char *slotname)
|
||||
{
|
||||
char cmd[64];
|
||||
char cmd[256];
|
||||
PGresult *res;
|
||||
|
||||
/* Start streaming from the point requested by startup process */
|
||||
|
|
|
|||
Loading…
Reference in a new issue