Hi. Similar to commit 5b94e27 <http://5b94e2753439b699b78aacbb53e89bf0e814becc> [1] The correct function when freeing memory in the frontend, using the function PQescapeIdentifier, must be PQfreemem.
Trivial patch attached. best regards, Ranier Vilela [1] https://www.postgresql.org/message-id/CAEudQAp%3DAW5dJXrGLbC_aZg_9nOo%3D42W7uLDRONFQE-gcgnkgQ%40mail.gmail.com
fix-api-misuse-pg_amcheck.patch
Description: Binary data