pgsql: vacuumdb: Add missing PQfinish() calls to vacuum_one_database().

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема pgsql: vacuumdb: Add missing PQfinish() calls to vacuum_one_database().
Дата
Msg-id E1tfOaV-005NNO-Qv@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f3e4aeb744da6acf909e9c5a7a83338fba1984a7

Modified Files
--------------
src/bin/scripts/vacuumdb.c | 12 ++++++++++++
1 file changed, 12 insertions(+)


В списке pgsql-committers по дате отправления: