fix parsing of serial columns on postgresql.  add test coverage.