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
Hello,

I'm trying to 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:
ERROR:  relation "simpletest" does not exist
LINE 1: SELECT * FROM simpletest WHERE id = 50;
I was able to get around this by only printing byval attributes:

if (!itupdesc->attrs[i-1]->attbyval)
            break;

I would still like to know why my code screws up though. The relnames are not byval, but I should still be able to print the address, right?

Regards,
Samuel

В списке pgsql-hackers по дате отправления: