News for hackers. Stuff that matters.
Re:PostgreSQL 9.3 Beta 1 Released by tiwazz on Monday May 13, 2013 @10:44AM (#5698926)
I don't believe hstore supports nested structures, which would make it less than a drop in replacement for many NoSQL use cases. Native JSON support should fix that though, so good news everyone!

http://www.postgresql.org/docs/devel/static/functions-json.h...

Re:PostgreSQL 9.3 Beta 1 Released by zapov on Monday May 13, 2013 @10:53AM (#5698980)
Postgres supports native nested structures. Well, as long as your structures are not circular. JSON everywhere is really a bad choice for most data structures. It's like having no structure at all.
Re:PostgreSQL 9.3 Beta 1 Released by masklinn on Monday May 13, 2013 @10:58AM (#5699012)
Which is pretty much what you want to build a schemaless nosql-on-postgres.

Also, Posgres already has hstore (already mentioned) and XML columns, which are schemaless and "unstructured".

Re:PostgreSQL 9.3 Beta 1 Released by zapov on Monday May 13, 2013 @11:14AM (#5699098)
Well, I'm arguing that flexible schema is better than no schema. And in practice schemaless is only about schema defined outside of database. It's a solution to the wrong problem.
Re:PostgreSQL 9.3 Beta 1 Released by netghost on Monday May 13, 2013 @11:55AM (#5699384)
hstore is just based on a text format, so if it doesn't support it normally, you could just cast the results of each query to a new hstore, something like `select (data -> foo)::hstore -> bar`.

It's probably not a good idea though ;) You don't get any benefit of indices in that case, and I'm not sure what would happen with nulls.