There was / is a move to port to Postgre. But it does not look close to complete. ERPNext PostgreSQL Support - #6 by ankush