Python Explicit Variable Declaration In Postgresql