diff options
author | Nathan Bossart <nathan@postgresql.org> | 2025-02-04 13:26:57 -0600 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2025-02-04 13:26:57 -0600 |
commit | f3e4aeb744da6acf909e9c5a7a83338fba1984a7 (patch) | |
tree | f3034016de4761a9781083526e87fe54891f807c /src/backend/executor/nodeModifyTable.c | |
parent | cc2c9fa6960c4abd5e4f4bcafb35fd3ba7b5ee98 (diff) | |
download | postgresql-f3e4aeb744da6acf909e9c5a7a83338fba1984a7.tar.gz postgresql-f3e4aeb744da6acf909e9c5a7a83338fba1984a7.zip |
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 00d1e88d36, 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: 13
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions