Commit 3b06105c authored by Magnus Hagander's avatar Magnus Hagander

Properly close replication connection in pg_receivexlog

parent e7cc8437
......@@ -270,6 +270,8 @@ StreamLog(void)
ReceiveXlogStream(conn, startpos, timeline, NULL, basedir,
segment_callback, continue_streaming,
standby_message_timeout);
PQfinish(conn);
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment