Skip to content

Commit ba1b763

Browse files
Remove superfluous variable assignment
Commit a4205fa 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 <bharath.rupireddyforpostgres@gmail.com> Discussion: https://postgr.es/m/CALj2ACVRiNvMDHYQGiRrGs2Z9dOydfLh2MymEk9i8CSn23UtCg@mail.gmail.com
1 parent e042678 commit ba1b763

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/pg_basebackup/pg_receivewal.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,6 @@ StreamLog(void)
449449

450450
FreeWalDirectoryMethod();
451451
pg_free(stream.walmethod);
452-
453-
conn = NULL;
454452
}
455453

456454
/*

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