From: | Greg Stark <gsstark(at)mit(dot)edu> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Extended unit |
Date: | 2005-01-27 18:14:30 |
Message-ID: | 87is5iwxh5.fsf@stark.xeocode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> Frank D. Engel, Jr. wrote [01/27/05 9:19 AM]:
> > On Jan 26, 2005, at 6:57 PM, PFC wrote:
> >
> >> Isn't there some free open source algebraic computation toolkit with
> >> equations and units somewhere ?
You mean like the traditional units program available on virtually all Unix
machines?
$ units
2084 units, 71 prefixes, 32 nonlinear units
You have: 1 lightyear/fortnight
You want: m/s
* 7.8213711e+09
/ 1.2785482e-10
That's the program I suggested writing a function to hand this work off to
(presumably in the form of a dynamic library). Keep the postgres code agnostic
about the semantics of the units. As long as you stick to linear units then
Postgres can treat them as opaque strings.
--
greg
From | Date | Subject | |
---|---|---|---|
Next Message | Frank Miles | 2005-01-27 18:24:19 | Re: pg_dump shell script with ~/.pgpass |
Previous Message | Bruno Wolff III | 2005-01-27 18:00:16 | Re: pg_dump shell script with ~/.pgpass |