Drainage pipeline with pump