Thanks, I didn't know that. What's the benefit of using PostgreSQL though if the functionality is the same?
The reliability and speed advantages of PostgreSQL over MongoDB. Plus the fact that sometimes KV/document is better and sometimes normalized relational. Is nice if one tool solves both.
[1]: http://www.postgresql.org/docs/9.4/static/datatype-json.html