{"id":16284084,"url":"https://github.com/wichert/pgarchive","last_synced_at":"2025-06-11T08:33:22.830Z","repository":{"id":197824495,"uuid":"697662032","full_name":"wichert/pgarchive","owner":"wichert","description":"Rust crate to read PostgreSQL custom archives","archived":false,"fork":false,"pushed_at":"2024-11-25T20:45:48.000Z","size":47,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T09:52:48.544Z","etag":null,"topics":["cargo","postgresql","postgresql-backup","rust-library"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/pgarchive","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wichert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-28T08:08:10.000Z","updated_at":"2024-11-25T19:56:05.000Z","dependencies_parsed_at":"2024-10-27T21:41:58.352Z","dependency_job_id":"d78710d1-b953-4dbd-a74d-8747d89e60da","html_url":"https://github.com/wichert/pgarchive","commit_stats":null,"previous_names":["wichert/pgarchive"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpgarchive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpgarchive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpgarchive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpgarchive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wichert","download_url":"https://codeload.github.com/wichert/pgarchive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208112,"owners_count":21065199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cargo","postgresql","postgresql-backup","rust-library"],"created_at":"2024-10-10T19:17:07.373Z","updated_at":"2025-04-10T11:07:24.779Z","avatar_url":"https://github.com/wichert.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Parser for PostgreSQL dumps in custom format\n\nThis crate allows inspecting the contents of a PostgreSQL backup\nas made using `pg_dump -Fc` or `pg_dump --format=custom`, and provides\ndirect access all raw table data. This can be useful if you do not\ntrust the SQL statements embedded in the dump, or if you want to\nprocess data without loading it into a database.\n\n```rust\nuse std::fs::File;\nuse pgarchive::Archive;\n\nlet mut file = File::open(\"tests/test.pgdump\").unwrap();\nmatch Archive::parse(\u0026mut file) {\n    Ok(archive) =\u003e println!(\"This is a backup of {}\", archive.database_name),\n    Err(e) =\u003e println!(\"can not read file: {:?}\", e),\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichert%2Fpgarchive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwichert%2Fpgarchive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichert%2Fpgarchive/lists"}