Re: segfault in libpq

Tom Lane <[email protected]> Mon, 15 Sep 2014 09:50:30 -0700
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <[email protected]>
"frank ernest" <[email protected]> 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


-- 
Sent via pgsql-interfaces mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces