PostgreSQL binary tree data type

Description

Binary tree as a PostgreSQL data type. This was a university class project and I don't intend to develop it further. Made in Visual Studio 2010 for PostgreSQL 9.0. DLL provided (debug build). May you find the code useful.