Postgresql Variable Declaration In Python