0

After creating an index in pgAdmin, is it possible to view the structure of the index in order to see how the column (s) have been sorted? I want to be able to see the B tree data structure. Thanks for any suggestions!

1
  • B tree data structure is a internal datastructure representation and not a view level representation. Commented Jun 16, 2014 at 21:07

1 Answer 1

2

No, you can't view the b-tree backing an index in PgAdmin-III. It's a low-level on-disk data structure that's entirely internal to the database backend.

You'll need to write some C code that runs inside the PostgreSQL server to explore the btree, or use the pageinspect extension.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.