Content-Length: 266445 | pFad | http://github.com/postgrespro/postgres/commit/77f93cb32d8711926b07030c1c73a57a7bc66911

C4 Add missing PQfinish() calls · postgrespro/postgres@77f93cb · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/77f93cb32d8711926b07030c1c73a57a7bc66911

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy