On Fri, Jul 7, 2017 at 12:59 PM, Alvaro Herrera <alvhe...@2ndquadrant.com> wrote: > Hmm, this seems potentially very useful. Care to upload it to > https://wiki.postgresql.org/wiki/Category:Snippets ?
Sure. I've added it here, under "index maintenance": https://wiki.postgresql.org/wiki/Index_Maintenance#Summarize_keyspace_of_a_B-Tree_index It would be a nice additional touch if there was an easy way of taking the on-disk representation of index tuples (in this case that would be little-endian signed integers from bt_page_items()), and from that output actual typed values. Maybe just for a few select datatypes. -- Peter Geoghegan -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers