Re: Reducing NUMERIC size for 8.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reducing NUMERIC size for 8.3
Дата
Msg-id 8683.1182182932@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Reducing NUMERIC size for 8.3  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Reducing NUMERIC size for 8.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> Anything shorter than the shortest possible numeric representation can
> implicitly be interpreted as some alternate compact representation. I already
> had a patch that stored small integers in a single NumericDigit without any
> numeric header at all.

That's getting well beyond the realm of reason IMHO.  I doubt you can
merge it with this proposal anyway --- how will you disambiguate from
zero with a positive dscale ("0.00")?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Tuple alignment
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: GUC time unit spelling a bit inconsistent