Postgres And Python Operator Priority Tables