| От | Tom Lane |
|---|---|
| Тема | Re: [GENERAL] UUID's as primary keys |
| Дата | |
| Msg-id | 9961.1151551397@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [GENERAL] UUID's as primary keys (Greg Stark <gsstark@mit.edu>) |
| Ответы |
Re: [GENERAL] UUID's as primary keys
|
| Список | pgsql-hackers |
Greg Stark <gsstark@mit.edu> writes:
> Hm, so it could be stored on disk without the length header as long as
> the length header is added to the in-memory representation? I don't
> think the type system has hooks for reading and storing data to disk
> though.
No, it doesn't, and we'd pay a nonzero price for allowing that.
Currently the executor doesn't have to care (much) about whether a
tuple is on-disk or in-memory --- the individual datums look the same
either way. Allowing them to be different would force a lot of
format conversion steps that currently need not happen.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера