Re: modify error report in mdwrite/mdextend

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: 蔡梦娟(玊于) <mengjuan(dot)cmj(at)alibaba-inc(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: modify error report in mdwrite/mdextend
Date: 2021-10-18 14:45:28
Message-ID: 202110181445.sjr5efucctd7@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021-Oct-18, Bharath Rupireddy wrote:

> On Mon, Oct 18, 2021 at 1:45 PM 蔡梦娟(玊于) <mengjuan(dot)cmj(at)alibaba-inc(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2021-10-18 15:24:38 Re: [PATCH] Proposal for HIDDEN/INVISIBLE column
Previous Message Andrew Dunstan 2021-10-18 13:56:41 Re: can we add subscription TAP test option "vcregress subscriptioncheck" for MSVC builds?