Re: Refactoring: Use soft error reporting for *_opt_error functions

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Dean Rasheed <dean.a.rasheed@gmail.com>
Cc: jian he <jian.universality@gmail.com>, Amul Sul <sulamul@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-09-05T04:58:36Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix two comments in numeric.c

  2. Switch some numeric-related functions to use soft error reporting

  3. Change pg_lsn_in_internal() to use soft error reporting

On Fri, Sep 05, 2025 at 08:10:00AM +0900, Michael Paquier wrote:
> Sure.  I'll handle it.  Thanks.

Applied after a few tweaks, including changes to the comments, the
suggestion of "division_by_zero" for the goto labels, and splitting
the patch into two parts for pg_lsn and numeric.
--
Michael