postgres: bugfix for insert with autoincrement
Merge pull request #138 from benilovj/pg-insert-with-autoincrement-test-coverage

postgres: bugfix for insert with autoincrement