Postgresql Invalid Input Syntax For Type Boolean In Python With Example