Re: error handling in pqRowProcessor broken - Mailing list pgsql-hackers

From Tom Lane
Subject Re: error handling in pqRowProcessor broken
Date
Msg-id 3540770.1650575630@sss.pgh.pa.us
Whole thread Raw
In response to Re: error handling in pqRowProcessor broken  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> On 19.04.22 21:16, Tom Lane wrote:
>> Ah, I see the problem: a few places in fe-protocol3 didn't get the memo
>> that conn->error_result represents a "pending" PGresult that hasn't
>> been constructed yet.  The attached fixes it for me --- can you try it
>> on whatever test case led you to this?

> Your patch fixes it for me.

Thanks for testing.  I pushed a cosmetically-polished version of that.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [RFC] building postgres with meson -v8
Next
From: Tom Lane
Date:
Subject: Re: [RFC] building postgres with meson -v8