Quantcast
Channel: Planet PostgreSQL
Viewing all articles
Browse latest Browse all 9645

Andrew Dunstan: Looking at the table of contents of a dump.

$
0
0
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.

Viewing all articles
Browse latest Browse all 9645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>