A bit late on that... But here are the slides of my talk on indexes that I gave at slideshare.net/LouiseGrandjon You can also go on my blog if you want to have fun discovering about postgresql source code for indexes
Conversation
Cool! You'll recall that I mentioned a wonky query that generates GraphViz markup describing a B-Tree's structure -- it's comparable to your tool. FYI, it's available from github.com/petergeoghegan. It would be nice to compare notes here. (My CTE thing is not a great idea.)
Hi Peter! Yes I remember, so cool you tried to do that as well! So as I'm a very lazy person, I didn't want to actually draw the indexes pictures for the talk. Here is the tool that I made for this talk github.com/louiseGrandjon
1
2
2
That looks way better! BTW, the hacked-up pageinspect that displays attribute values using type output functions is here: github.com/petergeoghegan (very rough, though). Code also does something special for my pending B-Tree patch, but it would be easy to take that out.
4

