Crate pgdump_toc_rewrite

Source

Functionsยง

print_toc
Prints pg_dump TOC contents to the specified writer.
read_toc_to_json
Reads pg_dump TOC as a JSON string.
rewrite_schema_in_sql
rewrite_schema_in_sql_qualified_single_quoted
rewrite_schema_in_sql_single_quoted
rewrite_schema_in_sql_unqualified
rewrite_toc
Rewrites pg_dump TOC and catalogs contents with the specified DB name.
write_toc_from_json
Writes pg_dump TOC from a JSON string.