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 | d6ea82f5da181eb4278595d7dca601568deeed5e (patch) | |
tree | c07bd8480ba3a848e63f6f90e60bee17d2dd66cc /src/fe_utils/string_utils.c | |
parent | 21d7db2caf2a307170c26d1fc0551e0a42ca9daf (diff) | |
download | postgresql-d6ea82f5da181eb4278595d7dca601568deeed5e.tar.gz postgresql-d6ea82f5da181eb4278595d7dca601568deeed5e.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/fe_utils/string_utils.c')
0 files changed, 0 insertions, 0 deletions