Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3b06105

Browse files
committed
Properly close replication connection in pg_receivexlog
1 parent e7cc843 commit 3b06105

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bin/pg_basebackup/pg_receivexlog.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ StreamLog(void)
270270
ReceiveXlogStream(conn, startpos, timeline, NULL, basedir,
271271
segment_callback, continue_streaming,
272272
standby_message_timeout);
273+
274+
PQfinish(conn);
273275
}
274276

275277
/*

0 commit comments

Comments
 (0)