1

I couldn't find enough information on Postgres documentations but curious to know how does btree index look like for a postgres varchar column.

Any links / explanations might be helpful.

PS: Sorry for the vague question

1 Answer 1

2

One good place to start is in the code ( and its contained documentation ).

Download here: http://www.postgresql.org/ftp/source/v9.4.1/

unpack the archive and look for the README under src/backend/access/nbtree/. That should give you quite a good introduction into what they're up to.

If you're ambitious and can read C code, you can have a look at the implementation in there too. Hope this helps.

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

1 Comment

PostgreSQL source code is also browsable online.

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.