Re: Print b-tree tuples
От | Samuel Vogel |
---|---|
Тема | Re: Print b-tree tuples |
Дата | |
Msg-id | 50E6C455.90009@muel-vogel.de обсуждение исходный текст |
Ответ на | Print b-tree tuples (Samuel Vogel <s@muel-vogel.de>) |
Список | pgsql-hackers |
<div class="moz-cite-prefix">Hello,<br /><br /></div><blockquote cite="mid:50E5B65A.70009@muel-vogel.de" type="cite"><divclass="moz-text-flowed" lang="x-western" style="font-family: -moz-fixed; font-size: 12px;">I'm tryingto print out the tuples in the b-tree nodes for analysis, but when iterate over more than the first entry of the tuples(scanKey++), I strangely get the error below on query execution:<br /> ERROR: relation "simpletest" does not exist<br/> LINE 1: SELECT * FROM simpletest WHERE id = 50;<br /></div></blockquote> I was able to get around this by onlyprinting byval attributes:<br /><br /> if (!itupdesc->attrs[i-1]->attbyval)<br /> break;<br /><br />I would still like to know why my code screws up though. The relnames are not byval, but I should still be able to printthe address, right?<br /><br /> Regards,<br /> Samuel<br />
В списке pgsql-hackers по дате отправления: