Re: Couple document fixes

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Couple document fixes
Дата
Msg-id 20110906042218.GM3924@fetter.org
обсуждение исходный текст
Ответ на Re: Couple document fixes  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Couple document fixes
Список pgsql-hackers
On Mon, Sep 05, 2011 at 10:07:29PM -0300, Alvaro Herrera wrote:
> Excerpts from David Fetter's message of lun sep 05 21:05:10 -0300 2011:
> 
> > On brief inspection, it appears that each of these would be better
> > served, at least functionally, with some kind of enumerated type.
> > Might it be worth trying to micro-optimize this case for a one-byte
> > enum?  Or maybe something like the varvarlena pattern?
> 
> What would be the point?

Removing the legacy "char" type, per original post. :)

> It works pretty well already.  It doesn't need fixing.

We've made changes as big on aesthetic grounds before, and if the
change results in an enum type optimized for space efficiency, that's
all to the good.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: PATCH: regular logging of checkpoint progress
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [v9.1] sepgsql - userspace access vector cache