Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34c6d96

Browse files
committed
Use a longer buffer in libpqrcv_startstreaming.
Because of the new SLOT clause in the START_REPLICATION command, it'spossible for the command to end up too long for the old maximum bufferlength.Andres Freund
1 parenta8e9b86 commit34c6d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/replication/libpqwalreceiver/libpqwalreceiver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ libpqrcv_identify_system(TimeLineID *primary_tli)
174174
staticbool
175175
libpqrcv_startstreaming(TimeLineIDtli,XLogRecPtrstartpoint,char*slotname)
176176
{
177-
charcmd[64];
177+
charcmd[256];
178178
PGresult*res;
179179

180180
/* Start streaming from the point requested by startup process */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp