mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Properly close replication connection in pg_receivexlog
This commit is contained in:
@ -270,6 +270,8 @@ StreamLog(void)
|
|||||||
ReceiveXlogStream(conn, startpos, timeline, NULL, basedir,
|
ReceiveXlogStream(conn, startpos, timeline, NULL, basedir,
|
||||||
segment_callback, continue_streaming,
|
segment_callback, continue_streaming,
|
||||||
standby_message_timeout);
|
standby_message_timeout);
|
||||||
|
|
||||||
|
PQfinish(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user