Issue #2279395 by alexpott, mradcliffe, plach, bzrudi71: Fixed The PostgreSQL backend does not handle NULL values for serial fields gracefully.