From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add numeric_int8_opt_error() to optionally suppress errors
Date: Wed, 03 Jan 2024 09:27:09 +0000
Message-ID: <E1rKxWn-00DFpS-Cp@gemulon.postgresql.org> (raw)
Add numeric_int8_opt_error() to optionally suppress errors
This matches the existing numeric_int4_opt_error() (see commit
16d489b0fe). It will be used by a future JSON-related patch, which
wants to report errors in its own way and thus does not want the
internal functions to throw any error.
Author: Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/CAM2+6=XjTyqrrqHAOj80r0wVQxJSxc0iyib9bPC55uFO9VKatg@mail....
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c1b9e1e56d8c11a00869766a02de537d349586cd
Modified Files
--------------
src/backend/utils/adt/numeric.c | 59 ++++++++++++++++++++++++++++++-----------
src/include/utils/numeric.h | 1 +
2 files changed, 44 insertions(+), 16 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add numeric_int8_opt_error() to optionally suppress errors
In-Reply-To: <E1rKxWn-00DFpS-Cp@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox