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 | e8d8174caf75c5724847b43b886a7feb1628c4d4 (patch) | |
tree | 50a83c1af6e0f57b976650cd236b5b879404ec87 /src/backend/access/gist/giststrat.c | |
parent | f07ebd54a304002c7ae289cddb5666e03f32fcd2 (diff) | |
download | postgresql-e8d8174caf75c5724847b43b886a7feb1628c4d4.tar.gz postgresql-e8d8174caf75c5724847b43b886a7feb1628c4d4.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/access/gist/giststrat.c')
0 files changed, 0 insertions, 0 deletions