Postgresql Variable In Python Definition Instance