Pgsql Invalid Input Syntax For Type Integer