Re: Numeric x^y for negative x

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: Numeric x^y for negative x
Дата
Msg-id CAEZATCXunxKJ+p8fK_v4Y5L2iNfAHgDz389q1k3FYTVEL2ifhg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Numeric x^y for negative x  (Zhihong Yu <zyu@yugabyte.com>)
Список pgsql-hackers
On Wed, 7 Jul 2021 at 18:57, Zhihong Yu <zyu@yugabyte.com> wrote:
>
> +                   (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
> +                    errmsg("value overflows numeric format")));
>
> Here is an example of existing error message which I think is more readable than 'overflows numeric format':
>
>                  errmsg("bigint out of range")));
>
> Maybe rephrase as: value is out of range
>

Hmm, I don't know. That's the error that has been thrown by lots of
numeric functions for a long time now, and it seems fine to me.

Regards,
Dean



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gilles Darold
Дата:
Сообщение: Re: Case expression pushdown
Следующее
От: Maciek Sakrejda
Дата:
Сообщение: TOAST questions