Developers looking to build or use a PostgreSQL compatible database will find two main flavors: forking PostgreSQL or rewriting the SQL layer in a compatible way.