Dont panic! It is important to remember that a fault code does not necessarily mean a faulty part!
Did the AA tell you it needs a new pump, £1,500+?!
The fuel pump is throwing a fault code only because it is not getting an engine speed signal from the crankshaft sensor (CKS). The pump is probably fine.
Check the connector on the CKS, unplug and reconnect it a few times, give it a spray with WD40 or similar.
If that doesn't work, fit a new crankshaft sensor. I recommend you buy a proper Vauxhall sensor from the VX dealer but get an independent to fit it for you, or fit it yourself. It is an easy DIY job to do, just unplug it, undo one or two small bolts, pull the sensor out, slip the new one in, replace bolts (take care not to overtighten, it can cause distortion) plug in, job done. It can be a bit of a sod to get at though, and you must make sure the cable is correctly routed.
Re the p0400 EGR code, this is often caused by lack of vacuum. However I suggest you fix the CKS first, then drive the car for a few miles to see if the engine management light comes on.
If it does, make sure the engine oil level is correct, if it's wrong it affects the vacuum pump.
Carefully check all the vacuum hoses for splits or loose connections.
If the EGR has failed this too is a fairly easy DIY job to replace, though the part can be expensive depending on exact engine.
I have found this company to be quite good for parts.
http://www.autovaux.co.uk/LoadPortal.aspx?cnum=83&tabid=5&vnum=137
http://www.autovaux.co.uk/LoadPortal.aspx?cnum=148&tabid=5&vnum=137
Hope this helps
vaux, November 2009