Commit 8703cde
committed
vacuumdb: Add missing PQfinish() calls to vacuum_one_database().
A few of the version checks in vacuum_one_database() do not call
PQfinish() before exiting. This precedent was unintentionally
established in commit 00d1e88, and while it's probably not too
problematic, it seems better to properly close the connection.
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/Z6JAwqN1I8ljTuXp%40nathan
Backpatch-through: 131 parent 2548349 commit 8703cde
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| 561 | + | |
| 562 | + | |
561 | 563 | | |
562 | 564 | | |
| 565 | + | |
563 | 566 | | |
564 | 567 | | |
| 568 | + | |
| 569 | + | |
565 | 570 | | |
566 | 571 | | |
| 572 | + | |
567 | 573 | | |
568 | 574 | | |
| 575 | + | |
| 576 | + | |
569 | 577 | | |
570 | 578 | | |
| 579 | + | |
571 | 580 | | |
572 | 581 | | |
| 582 | + | |
| 583 | + | |
573 | 584 | | |
574 | 585 | | |
| 586 | + | |
575 | 587 | | |
576 | 588 | | |
577 | 589 | | |
| |||
0 commit comments