On Mon, Jan 27, 2014 at 2:13 PM, Tom Lockhart <
tlockh...@gmail.com> wrote:
> MySQL started as a non-ACID query server (not a full relational database in the accepted sense) and these kinds of issues likely stem from that history. Folks getting started with databases and django may want to consider using Postgres for their foundation.
it's true that MySQL started as a very limited project and grew from
there, meaning that there are still several shortcomings when compared
with more complete and robust implementations, like Postgresql.
but this specific issue, isn't because of that history. in fact, the
old MyISAM storage engine handles it differently: autoincrement fields
are monotonically incrementing. (unless the storage gets corrupted).
it's the InnoDB implementation the one that didn't bother to handle
full monotonicity, considering the uniqueness and incrementing
conditions enough.
AFAIR, the SQL standard doesn't require full monotonicity... does it
even define autoincrement fields? if there's no hard standard, i
don't think it could be considered a bug.
--
Javier