Postgresql Declare Array Variable Length Parameters In Python