* Add unit test for #1646
* Update table prefix test
* Fix postgres deleteQuery not using schema
* Remove pg specific
Merge pull request #1680 from siyangbi/add-test-for-#1646

* Add unit test for #1646