projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e042678
)
Remove superfluous variable assignment
author
Daniel Gustafsson
Thu, 2 Sep 2021 11:03:21 +0000
(13:03 +0200)
committer
Daniel Gustafsson
Thu, 2 Sep 2021 11:03:21 +0000
(13:03 +0200)
Commit
a4205fa00
moved setting conn to NULL directly after the call
to PQfinish, but the original conn = NULL; remained a few lines down.
Fix by removing the superfluous assignment.
Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACVRiNvMDHYQGiRrGs2Z9dOydfLh2MymEk9i8CSn23UtCg@mail.gmail.com
src/bin/pg_basebackup/pg_receivewal.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_basebackup/pg_receivewal.c
b/src/bin/pg_basebackup/pg_receivewal.c
index 4474273daf42b0f799012c035456e45cc7cce2ec..9d1843728d742678e7f5174906fea5971c23d540 100644
(file)
--- a/
src/bin/pg_basebackup/pg_receivewal.c
+++ b/
src/bin/pg_basebackup/pg_receivewal.c
@@
-449,8
+449,6
@@
StreamLog(void)
FreeWalDirectoryMethod();
pg_free(stream.walmethod);
-
- conn = NULL;
}
/*