forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8703cde
committed
vacuumdb: Add missing PQfinish() calls to vacuum_one_database().
A few of the version checks in vacuum_one_database() do not callPQfinish() before exiting. This precedent was unintentionallyestablished in commit00d1e88, and while it's probably not tooproblematic, it seems better to properly close the connection.Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://postgr.es/m/Z6JAwqN1I8ljTuXp%40nathanBackpatch-through: 131 parent2548349 commit8703cde
1 file changed
+12
-0
lines changedLines changed: 12 additions & 0 deletions
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
Comments
(0)