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

From Tom Lane
Subject Re: Reducing data type space usage
Date
Msg-id 14840.1158453384@sss.pgh.pa.us
Whole thread Raw
In response to Re: Reducing data type space usage  (Hannu Krosing <hannu@skype.net>)
List pgsql-hackers
Hannu Krosing <hannu@skype.net> writes:
> why not go all the way, and do utf-7 encoded header if hi bit is set ?
> or just always have an utf-8 encoded header.

That definition is (a) very expensive to scan, and (b) useless for
anything except utf-8 encoded text.  Whatever mechanism we select should
be more flexible than that (eg, should work for inet values).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: The enormous s->childXids problem
Next
From: Tom Lane
Date:
Subject: Re: minor feature request: Secure defaults during function creation