Postgres Now the Default Database for Mac OS X Server
momjian.us
momjian.us
Still, whatever the reason for the switch (is Oracle involved?), this seems like a good new default.
I've found Postgres capable, fast, and rock-solid. (At the point I switched from MySQL, a few years ago, I'd be tempted to say that it had approximately none of those three going for it. I'll be happy to hear that MySQL has improved meanwhile, though: is there any particular reason I might consider switching back?).
Worse, MySQL seems to go for a strict interpretation of the GPL (http://www.mysql.com/about/legal/licensing/index.html):
"For OEMs, ISVs, and VARs who distribute MySQL with their products, and do not license and distribute their source code under the GPL, MySQL provides a flexible OEM Commercial License."
Compare that with http://www.postgresql.org/about/licence:
"PostgreSQL is released under the PostgreSQL License, a liberal Open Source license, similar to the BSD or MIT licenses."
Apple's version of MySQL on Snow Leopard was GPL and distributed on Apple's own website : http://www.opensource.apple.com/release/mac-os-x-1068/
Postgres' source on Lion is now available at : http://www.opensource.apple.com/release/mac-os-x-107/
I do not think the GPL license implies that, and as another poster said, that interpretation would probably not hold in court, but why take the risk?
Also, shipping this in the past does not imply they were happy doing that. They might have found the alternatives not good enough before, just like they did with gcc/clang (I am not sure gcc is completely out yet, but it certainly is on the way out)
The MySQL client libraries are GPL, which is very restrictive for a client library. I think that even the commercial vendors' licenses for client libraries are less restrictive.
I'm all for cheerleading for PostgreSQL (I really love the tool), but that "a few years ago" comment is just wrong and not really very fair.
Not sure if this is just my issue, but if you did upgrade to Server, you might want to check your system's log file.
1. There is a Server Version?
2. It is spelled OS X without a slash.
That includes: clusterdb, createdb, createlang, createuser, dropdb, droplang, dropuser, ecpg, pg_config, pg_dump, pg_dumpall, pg_restore, pg_upgrade, psql, reindexdb, and vacuumdb.
Unfortunately, it doesn't include any of the server binaries: initdb, pg_controldata, pg_ctl, pg_resetxlog, postgres, or postmaster.
For the curious, I've pasted the output of pg_config at http://www.pastie.org/2275197
[0]: http://www.postgresql.org/docs/9.0/static/reference-client.h...
[1]: http://www.postgresql.org/docs/9.0/static/pgupgrade.html
They're also selling Lion Server as an add-on in the Mac App Store for other systems.