partial (for inserts for MySQL and PostgreSQL) fix for #638