This query of mine works normally in PostgreSQL using Python PsycoPG2:
c = pg_con.cursor() id_list = [111,112,113] c.e