Re: [GENERAL] Huge amount of memory errors with libpq

2010-09-12 Thread Casey Jones
On Sunday 12 September 2010 5:44:26 pm you wrote: > Casey Jones writes: > > I don't think valgrind is the only issue here because outside valgrind my > > data is getting magically overwritten. In the function causing that > > problem I set all the fields I wanted to set by hand instead of using >

Re: [GENERAL] Huge amount of memory errors with libpq

2010-09-12 Thread Tom Lane
Casey Jones writes: > I don't think valgrind is the only issue here because outside valgrind my > data is getting magically overwritten. In the function causing that problem > I set all the fields I wanted to set by hand instead of using PQgetvalue(). > If I leave PQexec() uncommented, my data i

Re: [GENERAL] Huge amount of memory errors with libpq

2010-09-12 Thread Casey Jones
On Sun, Sep 12, 2010 at 7:54 AM, Craig Ringer wrote: > > Anyway, since you've provided a test program, I can at least run it here on > a modern PostgreSQL and see what results I get to provide some more info. In > this case, it runs fine and no issues are detected. I'm on a 64-bit Fedora > 13 insta

Re: [GENERAL] Huge amount of memory errors with libpq

2010-09-12 Thread Craig Ringer
On 09/12/2010 02:53 PM, Casey Jones wrote: My development server was initially running 8.4.4 on Gentoo. I downgraded to 8.1.21 (still on Gentoo) to match my CentOS production server to see if the problems would go away, but they didn't. Thanks for the test case. It's rare - and delightful - t