A while ago I created a little utility to look at the metadata (the "TOC" or Table Of Contents) of a PostgreSQL Custom Format dump. It turns out that, with a tiny adjustment, this can be used to dump the toc.dat file from a Tar or Directory Format dump in a readable format as well. I've committed this change to the utility repository on github. It's quite useful in reviewing the parallel pg_dump patch.
The utility can also be used to dump out all the SQL in separate files. That part needs a bit of polish, but it's a start. Josh Berkus has been using it at one of our customers.
The utility can also be used to dump out all the SQL in separate files. That part needs a bit of polish, but it's a start. Josh Berkus has been using it at one of our customers.