Re: Strange error in new 003_cic_2pc.pl test - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Strange error in new 003_cic_2pc.pl test
Date
Msg-id 1570716.1636649569@sss.pgh.pa.us
Whole thread Raw
In response to Re: Strange error in new 003_cic_2pc.pl test  (Andrey Borodin <x4mmm@yandex-team.ru>)
List pgsql-hackers
Andrey Borodin <x4mmm@yandex-team.ru> writes:
>> That error message is remarkably unhelpful, and I think unnecessarily so.
>> Why the heck isn't XlogReadTwoPhaseData passing on the error string
>> that it just got from XLogReadRecord?

> Noah recently proposed the same [0]. But responders like me started to complain about other places without error
reportingaround xlog reading. 

Ah, I missed that thread.  Now that we've seen another instance of the
same failure, I agree it's urgent to get something committed.  Noah's
patch matches the style of some other callers, so let's go with that.

(And yeah, why are some of the other callers ignoring errormsg?  But
that can wait.)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: Strange error in new 003_cic_2pc.pl test
Next
From: Tom Lane
Date:
Subject: Re: Should AT TIME ZONE be volatile?