Re: WIP: Relaxing the constraints on numeric scale

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: WIP: Relaxing the constraints on numeric scale
Дата
Msg-id CA+TgmoYYz37hnrHrz5aPhb73AOKRndGDnd4O=1EpRR6x4VrVbA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WIP: Relaxing the constraints on numeric scale  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: WIP: Relaxing the constraints on numeric scale  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers
On Tue, Jun 29, 2021 at 4:46 PM Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> 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.

Ah! Well, in that case, this sounds great.

(I haven't looked at the patch, so this is just an endorsement of the concept.)

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WIP: Relaxing the constraints on numeric scale
Следующее
От: Anastasia Lubennikova
Дата:
Сообщение: Extensible storage manager API - smgr hooks