| If you're a developer, a database is just a database. If you're a corporate DBA, they are each worlds apart. MySQL is a perfect match for most SaaS applications that deal with compliance. Postgres is simply not. The main issues with managing Postgres today are grant inheritance, and also the lack of COPY FROM/TO grants. I shouldn't have to update grants for non-admin or readonly users after adding new objects, and there needs to be the equivalent of MySQL's FILE grant for Postgres' COPY FROM/TO. OTOH, it is easy to reason about MySQL grants, and almost pain-free to update them in production. If anybody can send me a link on how to make Postgres work in a corporate and/or compliance environment, let me know. Source: DBA. |
I find this statement amazingly weird. In my experience, MySQL's access grants are extremely impoverished compared to Postgres (even in 8). It doesn't have row level security either.
> The main issues with managing Postgres today are grant inheritance
roles + `INHERIT` (which has been available since at least 8.1, 15 years ago)
> I shouldn't have to update grants for non-admin or readonly users after adding new objects
You don't. There are default grants that apply on object creation within a schema: `ALTER DEFAULT PRIVILEGES`.