Re: Refactoring: Use soft error reporting for *_opt_error functions - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: Refactoring: Use soft error reporting for *_opt_error functions
Date
Msg-id CAEZATCXZNZtR6e7WG-qnTSdX33Xmg4Jfxx6xrE-jeAbDywkTXg@mail.gmail.com
Whole thread Raw
In response to Refactoring: Use soft error reporting for *_opt_error functions  (Amul Sul <sulamul@gmail.com>)
Responses Re: Refactoring: Use soft error reporting for *_opt_error functions
List pgsql-hackers
On Mon, 1 Sept 2025 at 10:36, Amul Sul <sulamul@gmail.com> wrote:
>
> I believe we should update all *_opt_error functions to use the new
> soft error reporting infrastructure instead of boolean flags -- did
> the same in the attached patch. I am not sure if this patch should be
> part of that thread[1]. It's a significant improvement in itself, as
> it would make the code more compact and consistent.

Agreed. That does look neater.

Regards,
Dean



pgsql-hackers by date:

Previous
From: Dmitry Koval
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Next
From: Xuneng Zhou
Date:
Subject: Re: Add progressive backoff to XactLockTableWait functions