Re: Printing bitmap objects in the debugger

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: Printing bitmap objects in the debugger
Дата
Msg-id 90fa1659-0c51-9bce-1bbb-f5cfa2eabf1b@lab.ntt.co.jp
обсуждение исходный текст
Ответ на Re: Printing bitmap objects in the debugger  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Printing bitmap objects in the debugger
Список pgsql-hackers
On 2016/09/15 0:04, Tom Lane wrote:
> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>> I don't understand.  Why don't you just use "call pprint(the bitmapset)"
>> in the debugger?
> 
> Bitmapsets aren't Nodes, so pprint doesn't work directly on them.
> I usually find that I can pprint some node containing the value(s)
> I'm interested in, but maybe that isn't working for Ashutosh's
> particular case.

There are many loose (ie, not inside any Node) Relids variables within the
optimizer code.  Perhaps Ashutosh ended up needing to look at those a lot.

Thanks,
Amit





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