projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72155b2
)
Add missing PQfinish() calls
author
Magnus Hagander
Wed, 23 May 2012 19:52:23 +0000
(21:52 +0200)
committer
Magnus Hagander
Wed, 23 May 2012 19:52:23 +0000
(21:52 +0200)
Fujii Masao
src/bin/pg_basebackup/streamutil.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_basebackup/streamutil.c
b/src/bin/pg_basebackup/streamutil.c
index 0de6f54e415283031e14e6fdac210aa4be66239a..cc015370ff6607d47f2bc9da5e981c5603ec1bea 100644
(file)
--- a/
src/bin/pg_basebackup/streamutil.c
+++ b/
src/bin/pg_basebackup/streamutil.c
@@
-167,6
+167,7
@@
GetConnection(void)
{
fprintf(stderr, _("%s: could not determine server setting for integer_datetimes\n"),
progname);
+ PQfinish(tmpconn);
exit(1);
}
@@
-178,6
+179,7
@@
GetConnection(void)
{
fprintf(stderr, _("%s: integer_datetimes compile flag does not match server\n"),
progname);
+ PQfinish(tmpconn);
exit(1);
}