Data Conversion

Поиск
Список
Период
Сортировка
От Bob Pawley
Тема Data Conversion
Дата
Msg-id 000501c626c2$c2cd8e80$ac1d4318@owner
обсуждение исходный текст
Ответы Re: Data Conversion  (Michael Glaesemann <grzm@myrealbox.com>)
Список pgsql-general

 

 

I’m looking for ideas on the direction I should take.

 

I’m constructing an engineering database. I want to include the capability of converting engineering data to different systems. For instance – Fahrenheit to Celsius, lbs/hr to gph to gpm and to liters per minute.

 

My thinking is bouncing between

            1 – creating a single table of data in the format of the users’ choice, then converting the data en masse as the user requests. Sort of like conversion-on-demand.

 

            2 – creating tables for each format (for temperature that would be one Fahrenheit table and one Celsius table) and do the conversion as the data is entered.

 

Any thoughts on how best to accomplish this task with Postgresql would be appreciated. (I’m on Windows XP)

 

Bob Pawley

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

Предыдущее
От: "Justin Pasher"
Дата:
Сообщение: Re: Best way to handle table trigger on update
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: Data Conversion