Properly close replication connection in pg_receivexlog
This commit is contained in:
parent
e7cc8437bb
commit
3b06105c7d
@ -270,6 +270,8 @@ StreamLog(void)
|
||||
ReceiveXlogStream(conn, startpos, timeline, NULL, basedir,
|
||||
segment_callback, continue_streaming,
|
||||
standby_message_timeout);
|
||||
|
||||
PQfinish(conn);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user