> On 10-Aug-2020, at 12:27 PM, Masahiko Sawada > <masahiko.saw...@2ndquadrant.com> wrote: > > The patch can be applied cleanly to the current HEAD but I got the > error on building the code with this patch: > > xlog.c: In function 'StartupXLOG': > xlog.c:7315:6: error: too few arguments to function 'RequestXLogStreaming' > 7315 | RequestXLogStreaming(ThisTimeLineID, > | ^~~~~~~~~~~~~~~~~~~~ > In file included from xlog.c:59: > ../../../../src/include/replication/walreceiver.h:463:13: note: declared here > 463 | extern void RequestXLogStreaming(TimeLineID tli, XLogRecPtr recptr, > | ^~~~~~~~~~~~~~~~~~~~ > > cfbot also complaints this. > > Could you please update the patch? >
Thank you for trying the patch and apologies for the compiler error. I missed adding a hunk earlier, it should be fixed in the version attached here.
v3-0001-Start-WAL-receiver-before-startup-process-replays.patch
Description: v3-0001-Start-WAL-receiver-before-startup-process-replays.patch