Re: [HACKERS] Memory problem? - Mailing list pgsql-hackers

From Patrick Welche
Subject Re: [HACKERS] Memory problem?
Date
Msg-id E10uxMY-0003UD-00@quartz.newn.cam.ac.uk
Whole thread Raw
In response to Re: [HACKERS] Memory problem?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Memory problem?
List pgsql-hackers
Tom Lane wrote:
> 
> "Patrick Welche" <prlw1@newn.cam.ac.uk> writes:
> > I am having trouble with PQclear causing a segmentation fault, and I don't
> > really know where to look.
> 
> Not at PQclear(); almost surely, the bug lies elsewhere.
...
> Unfortunately that means the bug might be almost anywhere else in
> your app :-(.  Good luck...

Sure enough - pass the PgDatabase as a reference was the solution!

Cheers,

Patrick


pgsql-hackers by date:

Previous
From: Sascha Schumann
Date:
Subject: Re: [HACKERS] 'idle' processes in v6.5?
Next
From: Thomas Good
Date:
Subject: Re: [HACKERS] Re: UnixWare