Re: segfault in libpq

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "frank ernest" <doark(at)mail(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: segfault in libpq
Date: 2014-09-15 16:50:30
Message-ID: 1086.1410799830@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"frank ernest" <doark(at)mail(dot)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 that starts the process since it's several KiB in size (but yell if yu want it anyways.) The problem in libpq is with the vaiable:
> 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message frank ernest 2014-09-15 20:08:53 Re: segfault in libpq
Previous Message frank ernest 2014-09-15 16:09:45 segfault in libpq