Pgsql Invalid Input Syntax For Type Boolean Python W3schools