pg_amcheck: PQclear query results

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: e889422d98e066dcf095fa275fbcb14ffd45708c
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2025-02-24T15:03:19Z
Releases: 18.0
pg_amcheck: PQclear query results

While the potential memory leak is small, ensure to PQclear the query
results before disconnecting.

Author: Jiao Shuntian <312199339@qq.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/tencent_F34922C91C41E76C734773E767C9FBDB9906@qq.com

Files

PathChange+/−
src/bin/pg_amcheck/pg_amcheck.c modified +1 −0

Discussion