Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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


  • From: Emilio Platzer <emilio(dot)platzer(at)ipark(dot)tv>
  • To: pgadmin-support(at)postgresql(dot)org
  • Subject: I need to code a float with magnitude (ie unit of measure)
  • Date: Fri, 13 Nov 2009 17:13:51 -0300
  • Message-id: <4AFDBDFF.3000801@ipark.tv> <text/plain>

I'm apologize about my poor english

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?

I can implement it but I need some examples. I try the example of chapter "User-Defined Types" but I don't know how to compile in windows (with MinGW). I just try some thigns that breaks postgres.exe.

Can you send me an example (with c code and makefile to see how to compile). Simple example is ok. The Manual example is not enaugh complete for me.

Thanks

Emilio Platzer
PD ¿Do you like to send yo some of my experiments?



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group