Re: [GENERAL] A real currency type

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Martijn van Oosterhout <kleptog(at)svana(dot)org>
Subject: Re: [GENERAL] A real currency type
Date: 2006-03-21 20:59:31
Message-ID: 44206933.6050603@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Peter Eisentraut wrote:

>Bruce Momjian wrote:
>
>
>>This looks very interesting. Should we add it to the core
>>distribution?
>>
>>
>
>I think such types would be better implemented as some sort of
>structured type, possibly with constructors and methods and all the
>other stuff that SQL talks about. We don't have all of that yet --
>maybe we don't need all of it immediately -- but before we start
>endorsing many of these types I'd like to see some consideration given
>to this issue.
>
>
>

Yeah, looks interesting but let's find the wrinkles. I was wondering if
it might have relevance to what I wanted to do with enumeration types,
i.e. we would tag each one with its particular enumeration id.

I also don't like the idea of it being done with user tables - if this
is core material then the tags should go in the catalog, ISTM.

cheers

andrew

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-03-21 21:10:21 Re: [GENERAL] A real currency type
Previous Message Peter Eisentraut 2006-03-21 20:30:51 Re: [GENERAL] A real currency type

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-03-21 21:10:21 Re: [GENERAL] A real currency type
Previous Message Tom Lane 2006-03-21 20:37:35 Re: qsort, once again