On a Distributor type pump (rotary) the vanes inside wear out.....this can be down to wrong fuel, water in fuel, additives in fuel.....as they wear they add small metal filings to the fuel system.....this is why its good to change the filters regularly.....the water trap (if you have one) should be drained at least weekly, the filings can build up in the tank, can damage injectors and stick to the fuel lines.
So when the pump fails you should really clean out the whole fuel system, drop and clean tank/fuel lines etc to prevent sudden recurrance with new pump.
The new generation of pumps operate at extremely high pressures (1500 BAR!) and cannot take petrol or contamination or veg oil which doesn't lubricate it sufficiently, when they go down you can kiss goodbye to £3000 plus. It must be said that many "pump" failures are actually an electrcal component attached to it and not properly diagnosed.
What have I told you about Thinking Erroll??