[GENERAL] A real currency type - Mailing list pgsql-hackers

From Gregory Maxwell
Subject [GENERAL] A real currency type
Date
Msg-id e692861c0603211100x59960b66n17bd911db434c29f@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] A real currency type  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [GENERAL] A real currency type  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
On 3/21/06, Jim C. Nasby <jnasby@pervasive.com> wrote:
> ISTM that having a currency type is pretty common for most databases; I
> don't really see any reason not to just include it. Likewise for a type
> that actually stores timezone info with a timestamp.

This really should be generalized to work with all the base types
because there are strong use cases for each. (timezones with
timestamps, currencies with numeric, physical units with floats and
ints)


pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: Question about MemoryContexts and functions that returns
Next
From: Martijn van Oosterhout
Date:
Subject: Re: [GENERAL] A real currency type