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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Emilio Platzer <emilio(dot)platzer(at)ipark(dot)tv>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: I need to code a float with magnitude (ie unit of measure)
Date: 2009-11-13 23:08:26
Message-ID: 25542.1258153706@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

1Emilio Platzer <emilio(dot)platzer(at)ipark(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2009-11-13 23:19:31 Re: next CommitFest
Previous Message Zdenek Kotala 2009-11-13 22:29:41 [patch] executor and slru dtrace probes