partial (for inserts for MySQL and PostgreSQL) fix for #638
Merge pull request #640 from tiger-seo/1.7

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