Re: error handling in pqRowProcessor broken

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: error handling in pqRowProcessor broken
Date: 2022-04-21 21:13:50
Message-ID: 3540770.1650575630@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-04-21 21:34:47 Re: [RFC] building postgres with meson -v8
Previous Message Andres Freund 2022-04-21 20:56:37 Re: [RFC] building postgres with meson -v8