Re: Fixed length data types issue - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Fixed length data types issue
Date
Msg-id 450A8FD2.4070407@enterprisedb.com
Whole thread Raw
In response to Re: Fixed length data types issue  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Fixed length data types issue  ("Mario Weilguni" <mario.weilguni@icomedias.com>)
List pgsql-hackers
Martijn van Oosterhout wrote:
> I don't think making a special typlen value just for a type that can
> store a single UTF-8 character is smart. I just can't see enough use to
> make it worth it.
>   

Assuming that we can set encoding per-column one day, I agree. If you 
have a CHAR(1) field, you're going to store codes like 'A', 'B', 'C' or 
'1', '2', '3' in it, and you don't need UTF-8 for that.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Fixed length data types issue
Next
From: "Mario Weilguni"
Date:
Subject: Re: Fixed length data types issue