Re: Reducing data type space usage

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Reducing data type space usage
Дата
Msg-id
7493.1158361987@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
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
Bruce Momjian  writes:
> FYI, we also need to figure out how to store a zero-length string.  That
> will probably be high-bit, and then all zero bits.  We don't store a
> zero-byte in strings, so that should be unique for "".

No, it'll be a 1-byte header with length indicating that no bytes
follow, which likely will be 10000001 rather than 10000000 ... but
in either case there is no ambiguity involved.
		regards, tom lane

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