Re: [PATCHES] Enums patch v2

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCHES] Enums patch v2
Дата
Msg-id 20061219145848.GK27098@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [PATCHES] Enums patch v2  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [PATCHES] Enums patch v2  (Andrew Dunstan <andrew@dunslane.net>)
Re: [PATCHES] Enums patch v2  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [PATCHES] Enums patch v2  (Tom Dunstan <pgsql@tomd.cc>)
Список pgsql-hackers
Andrew Dunstan wrote:

> As for efficiency, I agree with what Tom says about alignment and
> padding dissolving away any perceived advantage in most cases. If we
> ever get around to optimising record layout we could revisit it.

I don't, because there are always those that are knowledgeable enough to
know how to reduce space lost to padding.  So it would be nice to have
2-byte enums on-disk, and resolve them based on the column's typid.  But
then, I'm not familiar with the patch at all so I'm not sure if it's
possible.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Hans-Juergen Schoenig
Дата:
Сообщение: Re: Core dump in PL/pgSQL ...
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pg_restore fails with a custom backup file