Postgresql Declare Array Variable Python