Extended unit

Поиск
Список
Период
Сортировка
От Pailloncy Jean-Gerard
Тема Extended unit
Дата
Msg-id 1E399944-6EB5-11D9-8B82-000A95DE2550@rilk.com
обсуждение исходный текст
Ответы Re: Extended unit  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Extended unit  (Roman Neuhauser <neuhauser@chello.cz>)
Список pgsql-general
Hi,

My question is purely theoretical.

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.

Do you think, it is feasible ? unrealistic ?
Any comment ?

Cordialement,
Jean-Gérard Pailloncy

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

Предыдущее
От: Nicolai Tufar
Дата:
Сообщение: Re: SCHEMA compatibility with Oracle/DB2/Firebird
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Extended unit