hack for postgresql does not support limits on DELETE statement