pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Martijn van Oosterhout <kleptog@svana.org>
Subject: Re: [GENERAL] A real currency type
Date: Tue, 21 Mar 2006 15:59:31 -0500
Message-ID: <44206933.6050603@dunslane.net> (raw)
In-Reply-To: <200603212130.52525.peter_e@gmx.net>
References: <200603211349.k2LDnIR15871@candle.pha.pa.us>
	<200603212130.52525.peter_e@gmx.net>

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





view thread (23+ messages)  latest in thread

Message-ID: <44206933.6050603@dunslane.net>
Permalink:  ../44206933.6050603@dunslane.net/
Also on:    postgresql.org/message-id/44206933.6050603@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andrew@dunslane.net, peter_e@gmx.net, pgsql-hackers@postgresql.org, pgman@candle.pha.pa.us, kleptog@svana.org
  Subject: Re: [GENERAL] A real currency type
  In-Reply-To: <44206933.6050603@dunslane.net>
  References: <200603211349.k2LDnIR15871@candle.pha.pa.us> <200603212130.52525.peter_e@gmx.net> <44206933.6050603@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox