A type of pasty substance used to fill holes in walls and ceilings is called plaster.