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

Re: Money type not gone?

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Josh Berkus <josh(at)agliodbs(dot)com>,pgsql-bugs(at)postgresql(dot)org
Subject: Re: Money type not gone?
Date: 2004-09-20 10:04:51
Message-ID: 414EAB43.8090701@pse-consulting.de (view raw or flat)
Thread:
Lists: pgsql-bugs
Karel Zak wrote:
> On Mon, 2004-09-20 at 08:36 +0000, Andreas Pflug wrote:
> 
>>Karel Zak wrote:
>>
>>>On Sun, 2004-09-19 at 15:29 -0400, Tom Lane wrote:
>>>
>>
>>> I want to rewrite it for 8.1 as numeric based datetype with some
>>>formatting extension probably with some internal stuff from to_char()
>>>familly.
>>
>>How about a type that is also able to hold an ISO currency identifier?
> 
> 
> My idea is special internal API that will usable for new datetypes
> programming if type is defined as "numeric + symbol", for example things
> like speed, weight, currency.. etc.

A type consisting of value and unit probably makes pgsql even more first 
choice for technical applications. Please note that %, k, M and so on 
are scales, not units and thus dont belong into that type.

Regards,
Andreas

In response to

Responses

pgsql-bugs by date

Next:From: PostgreSQL Bugs ListDate: 2004-09-20 11:25:25
Subject: BUG #1260: standard compilation
Previous:From: Karel ZakDate: 2004-09-20 09:42:34
Subject: Re: Money type not gone?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group