Detecting memory leaks with libpq?

From: Antonio Vieiro <antonio(at)antonioshome(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Detecting memory leaks with libpq?
Date: 2011-07-19 10:41:22
Message-ID: CAPHN3JVOzwSxejZL4aptxR+WGt0=-Rgmk2L7rPfi6TaVC1qZoQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I'm building a small C application that uses libpq and I was wondering
if there's an easy way to detect memory leaks in my code.

I think I'm calling PQclear and friends correctly, but I'd like to
double-check it. I was wondering if there's a function in libpq to
check memory-use usage/internals, or something like that.

Thanks in advance,
Antonio

P.S.: I assume this is the proper list for these sort of questions, right?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Abraham, Danny 2011-07-19 10:48:57 Identify release contents
Previous Message salah jubeh 2011-07-19 10:03:36 Rename