agora inbox for pgsql-interfaces@postgresql.org
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
To: frank ernest <doark@mail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: segfault in libpq
Date: Mon, 15 Sep 2014 09:50:30 -0700
Message-ID: <1086.1410799830@sss.pgh.pa.us> (raw)
In-Reply-To: <trinity-31011ab9-a78d-449a-b500-6b1d8ccfbc5b-1410797385159@3capp-mailcom-lxa04>
References: <trinity-31011ab9-a78d-449a-b500-6b1d8ccfbc5b-1410797385159@3capp-mailcom-lxa04>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 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 (pgsql-interfaces@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces
view thread (3+ messages) latest in thread
Message-ID: <1086.1410799830@sss.pgh.pa.us>
Permalink: ../1086.1410799830@sss.pgh.pa.us/
Also on: postgresql.org/message-id/1086.1410799830@sss.pgh.pa.us
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, doark@mail.com
Subject: Re: segfault in libpq
In-Reply-To: <1086.1410799830@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox