Commit f3e4aeb
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 cc2c9fa commit f3e4aeb
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| 560 | + | |
| 561 | + | |
560 | 562 | | |
561 | 563 | | |
| 564 | + | |
562 | 565 | | |
563 | 566 | | |
| 567 | + | |
| 568 | + | |
564 | 569 | | |
565 | 570 | | |
| 571 | + | |
566 | 572 | | |
567 | 573 | | |
| 574 | + | |
| 575 | + | |
568 | 576 | | |
569 | 577 | | |
| 578 | + | |
570 | 579 | | |
571 | 580 | | |
| 581 | + | |
| 582 | + | |
572 | 583 | | |
573 | 584 | | |
| 585 | + | |
574 | 586 | | |
575 | 587 | | |
576 | 588 | | |
| |||
0 commit comments