mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +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,
|
||||
segment_callback, continue_streaming,
|
||||
standby_message_timeout);
|
||||
|
||||
PQfinish(conn);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user