Re: WIP: Relaxing the constraints on numeric scale

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: WIP: Relaxing the constraints on numeric scale
Дата
Msg-id CAEZATCVJOg6==gZHRC4e59oNyzgV4icd5y8U0mUaMLJ3htU8wA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WIP: Relaxing the constraints on numeric scale  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: WIP: Relaxing the constraints on numeric scale  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Tue, 29 Jun 2021 at 21:34, Robert Haas <robertmhaas@gmail.com> wrote:
>
> I thought about this too, but
> http://postgr.es/m/774767.1591985683@sss.pgh.pa.us made me think that
> it would be an on-disk format break. Maybe it's not, though?
>

No, because the numeric dscale remains non-negative, so there's no
change to the way numeric values are stored. The only change is to
extend the allowed scale in the numeric typemod.

Regards,
Dean



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Preventing abort() and exit() calls in libpq
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: Overflow hazard in pgbench