"Patrick Welche" <prlw1(at)newn(dot)cam(dot)ac(dot)uk> writes:
>>>> I am having trouble with PQclear causing a segmentation fault, and I don't
>>>> really know where to look.
> Sure enough - pass the PgDatabase as a reference was the solution!
Hmm. If copying a PgDatabase object doesn't work, then the copy
constructor and assignment operators for it ought to be disabled
(by declaring them private). Vince?
regards, tom lane