Re: segfault in libpq - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: segfault in libpq
Date
Msg-id 1086.1410799830@sss.pgh.pa.us
Whole thread Raw
In response to segfault in libpq  ("frank ernest" <doark@mail.com>)
List pgsql-interfaces
"frank ernest" <doark@mail.com> writes:
> Hi, before I report this as a bug I'd like to know if it's my code or not. I'm not going to send the whole function
thatstarts the process since it's several KiB in size (but yell if yu want it anyways.) The problem in libpq is with
thevaiable:
 
> paramValues

It seems very likely that your code is not setting up the paramValues
array the way libpq expects.  Since you've not shown us the code that
prepares that array, nor even the variable declarations, that's just
an educated guess ... but PQexecPrepared has been around for a long
time and there are no other reports of bugs here.
        regards, tom lane



pgsql-interfaces by date:

Previous
From: "frank ernest"
Date:
Subject: segfault in libpq
Next
From: "frank ernest"
Date:
Subject: Re: segfault in libpq