| От | Heikki Linnakangas |
|---|---|
| Тема | Re: Significance of the magic number of btree pages..? |
| Дата | |
| Msg-id | 49A3FD75.1080303@enterprisedb.com обсуждение исходный текст |
| Ответ на | Significance of the magic number of btree pages..? (Anil Kumar <anil_csir@yahoo.com>) |
| Список | pgsql-hackers |
Anil Kumar wrote: > Hi to All, > Iam new to the group and to postgresql. Currently Iam trying to understand how does the planner work by using gdb. Duringthe execution of a plan I observed a variable "BTREE_MAGIC" which is defined 0x053162 and called, 'the magic numberof btree pages'. I couldnt understand the concept behind the 'magic number' and the "0x053162". Can anyone kindly explainthe significance of the 'magic number of btree pages' or refer to some document where I can get idea about this. It's just a sanity check and a debugging aid, to let you check that a b-tree metapage is indeed a b-tree metapage. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера