Postgres Declare Variable String In Python