Explanation of JSONB introduced by PostgreSQL
问题 PostgreSQL just introduced JSONB and it\'s already trending on hacker news. It would be great if someone could explain how it\'s different from Hstore and JSON previously present in PostgreSQL. What are it\'s advantages and limitations and when should someone consider using it? 回答1: First, hstore is a contrib module, which only allows you to store key => value pairs, where keys and values can only be text s (however values can be sql NULL s too). Both json & jsonb allows you to store a valid