errors free dump with cleaning

https://commitfest.postgresql.org/action/patch_view?id=1174
http://archives.postgresql.org/message-id/CAFj8pRC_n+aLU4M51wAUjNJGbUz1+gMuyyC7gAJ0N=NAXD6RqA@mail.gmail.com