Re: modify error report in mdwrite/mdextend - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: modify error report in mdwrite/mdextend
Date
Msg-id 202110181445.sjr5efucctd7@alvherre.pgsql
Whole thread Raw
In response to Re: modify error report in mdwrite/mdextend  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
On 2021-Oct-18, Bharath Rupireddy wrote:

> On Mon, Oct 18, 2021 at 1:45 PM 蔡梦娟(玊于) <mengjuan.cmj@alibaba-inc.com> wrote:

> > Does this match your previous expectations? Hope to get your reply.
> 
> The control from the below ereport(ERROR, doesn't reach the short
> write error part. IMO, the existing way does no harm, it is a mere
> programming choice.

Yeah, this style is used extensively in many places of the backend code.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"World domination is proceeding according to plan"        (Andrew Morton)



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: can we add subscription TAP test option "vcregress subscriptioncheck" for MSVC builds?
Next
From: Vik Fearing
Date:
Subject: Re: [PATCH] Proposal for HIDDEN/INVISIBLE column