Properly close replication connection in pg_receivexlog

This commit is contained in:
Magnus Hagander 2011-11-03 15:43:25 +01:00
parent e7cc8437bb
commit 3b06105c7d

View File

@ -270,6 +270,8 @@ StreamLog(void)
ReceiveXlogStream(conn, startpos, timeline, NULL, basedir,
segment_callback, continue_streaming,
standby_message_timeout);
PQfinish(conn);
}
/*