Re: Reducing data type space usage

Поиск
Список
Период
Сортировка
Искать
От
Hannu Krosing
Тема
Re: Reducing data type space usage
Дата
Msg-id
1158416162.8571.4.camel@localhost.localdomain
Ответ на
Список
Дерево обсуждения
Reducing data type space usage Gregory Stark <stark@enterprisedb.com>
Re: Reducing data type space usage Martijn van Oosterhout <kleptog@svana.org>
Re: Reducing data type space usage Bruce Momjian <bruce@momjian.us>
Re: Reducing data type space usage Tom Lane <tgl@sss.pgh.pa.us>
Re: Reducing data type space usage Bruce Momjian <bruce@momjian.us>
Re: Reducing data type space usage Tom Lane <tgl@sss.pgh.pa.us>
Re: Reducing data type space usage Hannu Krosing <hannu@skype.net>
Re: Reducing data type space usage Tom Lane <tgl@sss.pgh.pa.us>
Re: Reducing data type space usage Bruce Momjian <bruce@momjian.us>
Re: Reducing data type space usage Bruce Momjian <bruce@momjian.us>
Re: Reducing data type space usage Tom Lane <tgl@sss.pgh.pa.us>
Re: Reducing data type space usage Hannu Krosing <hannu@skype.net>
Re: Reducing data type space usage Tom Lane <tgl@sss.pgh.pa.us>
Re: Reducing data type space usage Andrew Dunstan <andrew@dunslane.net>
Re: Reducing data type space usage Tom Lane <tgl@sss.pgh.pa.us>
Re: Reducing data type space usage Andrew Dunstan <andrew@dunslane.net>
Re: Reducing data type space usage Gregory Stark <stark@enterprisedb.com>
Re: Reducing data type space usage Bruce Momjian <bruce@momjian.us>
Re: Reducing data type space usage Tom Lane <tgl@sss.pgh.pa.us>
Re: Reducing data type space usage Gregory Stark <stark@enterprisedb.com>
Re: Reducing data type space usage Tom Lane <tgl@sss.pgh.pa.us>
Re: Reducing data type space usage Bruce Momjian <bruce@momjian.us>
Re: Reducing data type space usage Gregory Stark <stark@enterprisedb.com>
Re: Reducing data type space usage Bruce Momjian <bruce@momjian.us>
Re: Reducing data type space usage Gregory Stark <stark@enterprisedb.com>
Re: Reducing data type space usage Martijn van Oosterhout <kleptog@svana.org>
Re: Reducing data type space usage Gregory Stark <stark@enterprisedb.com>
Re: Reducing data type space usage Heikki Linnakangas <heikki@enterprisedb.com>
Re: Reducing data type space usage Gregory Stark <stark@enterprisedb.com>
Re: Reducing data type space usage Tom Lane <tgl@sss.pgh.pa.us>
Re: Reducing data type space usage "Bort, Paul" <pbort@tmwsystems.com>
Re: Reducing data type space usage Mark Dilger <pgsql@markdilger.com>
Re: Reducing data type space usage Mark Dilger <pgsql@markdilger.com>
Re: Reducing data type space usage mark@mark.mielke.cc
Ühel kenal päeval, R, 2006-09-15 kell 19:18, kirjutas Tom Lane:
> Bruce Momjian  writes:
> > Tom Lane wrote:
> >> No, it'll be a 1-byte header with length indicating that no bytes
> >> follow,
> 
> > Well, in my idea, 10000001 would be 0x01.  I was going to use the
> > remaining 7 bits for the 7-bit ascii value.
> 
> Huh?  I thought you said 00000001 would be 0x01, that is, high bit
> clear means a single byte containing an ASCII character. 

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.

> You could
> reverse that but it just seems to make things harder --- the byte
> isn't a correct data byte by itself, as it would be with the other
> convention.
> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq
-- 
----------------
Hannu Krosing
Database Architect
Skype Technologies OÜ
Akadeemia tee 21 F, Tallinn, 12618, Estonia

Skype me:  callto:hkrosing
Get Skype for free:  http://www.skype.com



В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: Bruce Momjian
Дата:
FAQ