Re: Reducing data type space usage - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Reducing data type space usage
Date
Msg-id 450C2F7E.1060006@dunslane.net
Whole thread Raw
In response to Re: Reducing data type space usage  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>   
>> I like this scheme a lot - maximum bang for buck.
>>     
>
>   
>> Is there any chance we can do it transparently, without exposing new 
>> types? It is in effect an implementation detail ISTM, and ideally the 
>> user would not need to have any knowledge of it.
>>     
>
> Well, they'd have to be separate types, but the parser handling of them
> would be reasonably transparent I think.  It would work pretty much
> exactly like the way that CHAR(N) maps to "bpchar" now --- is that
> sufficiently well hidden for your taste?
>
>             
>   

Yeah, probably. At least to the stage where it's not worth a herculean 
effort to overcome.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: index help for uuid datatype
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Foreign keys