We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ab82f commit c3c301cCopy full SHA for c3c301c
src/backup.c
@@ -2022,13 +2022,16 @@ StreamLog(void *arg)
2022
{
2023
StreamCtl ctl;
2024
2025
+ MemSet(&ctl, 0, sizeof(ctl));
2026
+
2027
ctl.startpos = startpos;
2028
ctl.timeline = starttli;
2029
ctl.sysidentifier = NULL;
2030
2031
#if PG_VERSION_NUM >= 100000
2032
ctl.walmethod = CreateWalDirectoryMethod(basedir, 0, true);
2033
ctl.replication_slot = replication_slot;
2034
+ ctl.stop_socket = PGINVALID_SOCKET;
2035
#else
2036
ctl.basedir = basedir;
2037
#endif
0 commit comments