Re: Printing bitmap objects in the debugger - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Printing bitmap objects in the debugger
Date
Msg-id CAFjFpRc1J257k45WwN8m=09Sw348g-jgHAhZ-a6rFf18ngWq6A@mail.gmail.com
Whole thread Raw
In response to Re: Printing bitmap objects in the debugger  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Wed, Sep 14, 2016 at 8:45 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> Tom Lane wrote:
>> Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> writes:
>> > While working on partition-wise join, I had to examine Relids objects
>> > many times. Printing the Bitmapset::words[] in binary format and then
>> > inferring the relids takes time and is error prone.
>>
>> FWIW, I generally rely on pprint() to look at planner data structures
>> from the debugger.
>
> Also:
> http://blog.pgaddict.com/posts/making-debugging-with-gdb-a-bit-easier
> This may not address the issue directly, but it's probably very helpful.

Thanks for the reference. I think this is something similar to what
Pavan suggested in the mail thread.

-- 
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Hash Indexes
Next
From: Ashutosh Bapat
Date:
Subject: Re: Push down more full joins in postgres_fdw