Skip to content

Commit 77f93cb

Browse files
committed
Add missing PQfinish() calls
Fujii Masao
1 parent 72155b2 commit 77f93cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bin/pg_basebackup/streamutil.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ GetConnection(void)
167167
{
168168
fprintf(stderr, _("%s: could not determine server setting for integer_datetimes\n"),
169169
progname);
170+
PQfinish(tmpconn);
170171
exit(1);
171172
}
172173

@@ -178,6 +179,7 @@ GetConnection(void)
178179
{
179180
fprintf(stderr, _("%s: integer_datetimes compile flag does not match server\n"),
180181
progname);
182+
PQfinish(tmpconn);
181183
exit(1);
182184
}
183185

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy