PG steamrolls every other general purpose database, and has tons of extensions, and frontends so you can use it in any database paradigm.
With 30m minutes of time, you can turn it into a document db, log/time series db, columnar, graph, key value, whatever