This is usually not possible, but since deleting a line is not much larger than a flag, you can write a tool that resurrects deleted lines. Beware that indexes are not updated and should be recreated afterwards.
I am sure that the people on the PostgreSQL IRC channel have the tools they ask for - this is the fastest way to get here.
source share