Re: Adding IEEE 754:2008 decimal floating point and hardware support for it

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Adding IEEE 754:2008 decimal floating point and hardware support for it
Дата
Msg-id CAM-w4HNwwSYHcnxKtcvY37wXzN=qU-=AG0Bxcz13k9j0Vj11NA@mail.gmail.com
обсуждение исходный текст
Ответ на Adding IEEE 754:2008 decimal floating point and hardware support for it  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: Adding IEEE 754:2008 decimal floating point and hardware support for it
Список pgsql-hackers
On Wed, Jun 12, 2013 at 12:56 AM, Craig Ringer <craig@2ndquadrant.com> wrote:
> The main thing I'm wondering is how/if to handle backward compatibility with
> the existing NUMERIC and its DECIMAL alias

If it were 100% functionally equivalent you could just hide the
implementation internally. Have a bit that indicates which
representation was stored and call the right function depending.


-- 
greg



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