fixes bug 950385 - use psycopg's IN operator serializer, r=adrian