nosql like sql based on postgresql