| От | Tom Lane |
|---|---|
| Тема | Re: b-tree index search algorithms |
| Дата | |
| Msg-id | 18827.1342741202@sss.pgh.pa.us обсуждение |
| Ответ на | Re: b-tree index search algorithms (Samuel Vogel <s@muel-vogel.de>) |
| Ответы |
Re: b-tree index search algorithms
|
| Список | pgsql-hackers |
Samuel Vogel <s@muel-vogel.de> writes:
> Am 18.07.12 23:56, schrieb Tom Lane:
>> It has access to the data type's basic storage parameters, which are
>> typbyval, typlen, and typalign; and we have standard conventions for
>> identifying the length etc of variable-length values. It's just the
>> meaning of the payload data bytes that's data-type-private.
> Okay, so with these I know if and how I would have to "dereference" the
> data.
> But how do I get to this info from inside _bt_binsrch?
RelationGetDescr(rel)->attrs[n]->attbyval etc.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера