Re: [fpc-pascal] postgres3 async notify mem leak

2007-06-30 Thread Brad Campbell
Brad Campbell wrote: G'day all, I'm using Postgres 8.1 and have async notifies working nicely based on select(). The problem is each time I get a notify I leak memory. I've commented out the PQfreemem call and find exactly the same size leak (tested over 10,000 notifies). I assume from that I

[fpc-pascal] postgres3 async notify mem leak

2007-06-30 Thread Brad Campbell
G'day all, I'm using Postgres 8.1 and have async notifies working nicely based on select(). The problem is each time I get a notify I leak memory. I've commented out the PQfreemem call and find exactly the same size leak (tested over 10,000 notifies). I assume from that I'm doing something very