Fwd: Re: [BUGS] dividing money by money

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Fwd: Re: [BUGS] dividing money by money
Дата
Msg-id 4BFD1FA50200002500031B36@gw.wicourts.gov
обсуждение исходный текст
Ответы Re: [BUGS] dividing money by money  (Andy Balholm <andy@balholm.com>)
Список pgsql-hackers
Hi Andy,
Do you want to package this up as a patch for 9.1?  If not, is it OK
if I do?
-Kevin
Andy Balholm <andy@balholm.com> wrote:
> On Apr 1, 2010, at 7:57 AM, Kevin Grittner wrote:
>> I'm inclined to think it's better to have an explicit cast from
>> money to numeric, as long as it is exact, and leave the division
>> of money by money as float8.  It does sort of beg the question of
>> whether we should support a cast back in the other direction,
>> though.  I think that would wrap this all up in a tidy package.
> 
> OK. Here is the whole thing in C:
> 
> [implementation as user-side functions]



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Synchronization levels in SR
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Synchronization levels in SR