Yang Xiao writes:
> The attachment is the proposal patch for function numeric_exp in
> src/backend/utils/adt/numeric.c.
Why do we need this? numeric_exp() already detects result overflow.
regression=# select numeric_exp(1);
ERROR: value overflows numeric format
r
Hi,
The attachment is the proposal patch for function numeric_exp in
src/backend/utils/adt/numeric.c.
Young
From 0456192bbe03428247b9f55b261b24b4b890c680 Mon Sep 17 00:00:00 2001
From: Young_X
Date: Tue, 9 Oct 2018 10:59:22 +0800
Subject: [PATCH] Add overflow test in function numeric_exp