Search Postgresql Archives

Re: Extended unit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# jg@xxxxxxxx / 2005-01-25 10:40:15 +0100:
> I add use in my time in University some software that use "extended 
> type".
> For each variable, we define the mandatory "classic type" as integer, 
> float, double array of.
> And we define an optional "extended type" as the unit in the MKSA 
> system (Meter, Kilogram, Second, Ampere) or any other unit we would 
> have previously define (eg. Currency).
> 
> This "extended type" was wonderful, because there was warning/error if 
> "extend type" does not match in any computation: you can not add apple 
> to orange.
> 
> I would appreciate to have such system in PostgreSQL.

    Is CREATE TYPE what you're looking for?
    http://www.postgresql.org/docs/8.0/static/sql-createtype.html

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux