Re: BUG #15229: Crash when using PQgetvalue - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15229: Crash when using PQgetvalue
Date
Msg-id 6051.1528142196@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #15229: Crash when using PQgetvalue  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I wrote:
> =?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
>> I am getting a segmentation fault in the below code when attempting to use
>> PQgetvalue. I am not 100 percent this is a bug and not a problem on my end
>> but I have done a lot of debugging and not found an answer.

> Strange.  Your code looks fine by eye, and just to be sure I
> copied-and-pasted it and ran it here.  No problems.

Just to close out this thread --- the submitter reports the problem
went away after reinstalling libpq, so apparently "broken libpq"
was the correct diagnosis.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Dave Cramer
Date:
Subject: Re: JDBC Driver42.2.2 throws error when dealing with money datatype
Next
From: Tom Lane
Date:
Subject: Re: BUG #15228: pgbench custom script numbering off-by-one