forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf3e4aeb
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 parentcc2c9fa commitf3e4aeb
1 file changed
+12
-0
lines changedLines changed: 12 additions & 0 deletions
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
Comments
(0)