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)