Re: I need to code a float with magnitude (ie unit of measure)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: I need to code a float with magnitude (ie unit of measure)
Дата
Msg-id 25542.1258153706@sss.pgh.pa.us
обсуждение исходный текст
Ответ на I need to code a float with magnitude (ie unit of measure)  (Emilio Platzer <emilio.platzer@ipark.tv>)
Список pgsql-hackers
1Emilio Platzer <emilio.platzer@ipark.tv> writes:
> I need to a "double precision" with magniude (ie meters, kilo, dolar, 
> etc). And can operate with them (ie dolar+dolar=dolar or 
> dolar/dolar=double precision).

> Do you know some pluggin or module to do this?

Yeah, there's a "tagged types" module on pgfoundry or someplace.
Check the list archives.
        regards, tom lane


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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: [patch] executor and slru dtrace probes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [Patch] Fix enum type mismatch