| От | Gregory Stark |
|---|---|
| Тема | Re: Fixed length data types issue |
| Дата | |
| Msg-id | 877j0fdgfu.fsf@enterprisedb.com обсуждение исходный текст |
| Ответ на | Re: Fixed length data types issue (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-hackers |
Martijn van Oosterhout <kleptog@svana.org> writes: > The fundamental property of a Datum is that you can pass it by value to > a C function. This generally means it has to fit in a register. On the > whole, the CPU register size is the same as the pointer size, so > 2*sizeof(pointer) is unlikely to fit... Not having it fit in a register might impact performance but it certainly isn't a requirement. You can pass whole structs by value in modern C. (And by modern here I don't mean C99, this has been supported since before ANSI and is required by *C89*). -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера