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

From Tom Lane
Subject Re: [GENERAL] A real currency type
Date
Msg-id 29420.1142975421@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] A real currency type  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: [GENERAL] A real currency type  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> I'd like it to be considered for inclusion.

The description page lists sufficiently many unresolved issues that
I'd have to call it "not ready for prime time" ... even assuming there
are not any issues you failed to identify.  One showstopper I can cite
immediately is the lack of any pg_dump support.

I could see putting this in contrib, perhaps, but to become part of core
it'd need to be better designed and better integrated.  That probably
means fixing some limitations in the current core code (for instance the
need for the auxiliary-type kluge).

Peter's point that there may exist SQL2003 features that cover the same
ground is also well taken ... we should investigate that before
inventing nonstandard stuff that we'll be stuck with supporting
forevermore.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [GENERAL] A real currency type
Next
From: Tom Lane
Date:
Subject: Re: Question about MemoryContexts and functions that returns