Re: Reducing the overhead of NUMERIC data

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Reducing the overhead of NUMERIC data
Дата
Msg-id 1131575044.8300.2148.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Reducing the overhead of NUMERIC data  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Reducing the overhead of NUMERIC data  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, 2005-11-06 at 11:26 -0500, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > On Thu, 2005-11-03 at 10:32 -0500, Tom Lane wrote:
> >> I think we could make it go by cramming the sign and
> >> the high-order dscale bit into the first NumericDigit --- the
> >> digit itself can only be 0..9999 so there are a couple of bits
> >> to spare.
> 
> > I've got a working version of the code using the above scheme,
> 
> Really?  After I woke up a bit more I realized there was only one bit
> and change to spare, not two, so I don't see how it would work.

Not sure why you think that. Seems to fit....

Best Regards, Simon Riggs



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

Предыдущее
От: "Gevik babakhani"
Дата:
Сообщение: Install issue on Windows and directory permission
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Reducing the overhead of NUMERIC data