| От | Tom Lane |
|---|---|
| Тема | Re: charset/collation in values |
| Дата | |
| Msg-id | 13961.1099323690@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: charset/collation in values (Thomas Hallgren <thhal@mailblocks.com>) |
| Ответы |
Re: charset/collation in values
|
| Список | pgsql-hackers |
Thomas Hallgren <thhal@mailblocks.com> writes:
> I think the number of charset/collation combinations will be relatively
> few so perhaps it would be space efficient to maintain a table where
> each combination is given an oid and have string values store that
> rather than two separate oid's?
In fact, we should do our best to get the overhead down to 1 or 2 bytes.
Two OIDs (8 bytes) is ridiculous.
I'm not sure if 1 byte is enough or not --- there might be more than 256
charsets/collations to support. 2 ought to be plenty though.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера