{"id":22729255,"url":"https://github.com/freddez/pg-dump2insert","last_synced_at":"2025-09-20T08:58:23.324Z","repository":{"id":77441882,"uuid":"75548240","full_name":"freddez/pg-dump2insert","owner":"freddez","description":"Fast PostgreSQL COPY dump to INSERT commands converter","archived":false,"fork":false,"pushed_at":"2022-03-07T10:51:49.000Z","size":8,"stargazers_count":45,"open_issues_count":2,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-20T08:58:21.867Z","etag":null,"topics":["dump","insert","postgresql","tool"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freddez.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2016-12-04T16:06:56.000Z","updated_at":"2025-09-10T01:10:05.000Z","dependencies_parsed_at":"2023-02-26T10:45:24.059Z","dependency_job_id":null,"html_url":"https://github.com/freddez/pg-dump2insert","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/freddez/pg-dump2insert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddez%2Fpg-dump2insert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddez%2Fpg-dump2insert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddez%2Fpg-dump2insert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddez%2Fpg-dump2insert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freddez","download_url":"https://codeload.github.com/freddez/pg-dump2insert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddez%2Fpg-dump2insert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276070743,"owners_count":25580129,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dump","insert","postgresql","tool"],"created_at":"2024-12-10T18:09:16.629Z","updated_at":"2025-09-20T08:58:23.319Z","avatar_url":"https://github.com/freddez.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"pg-dump2insert : Fast PostgreSQL COPY dump to INSERT commands converter\n=======================================================================\n\nPostgreSQL's pg_dump with *COPY* statements format is the most effective way to\nbackup and restore your database. However for retrieving specific data or to\ninject dump into non-PostgreSQL database, *INSERT* commands are far more\nconvenient. This tool simply converts *COPY* dumps to *INSERT* dumps.\n\nInstallation\n------------\n\nThis tool is written in `Rust \u003chttps://www.rust-lang.org/\u003e`_ language. Install\nit, then type::\n\n  cargo install\n\n\nUsage\n-----\n\nJust pipe dump output to pg-dump2insert::\n\n  cat dump.sql | pg-dump2insert\n\nIf the dump file is a binary archive, use pg_restore::\n\n  pg_restore dump.db | pg-dump2insert\n  pg_restore -t tablenamedump.db | pg-dump2insert\n\n\nNotice\n------\n\nThe only difference with \"--inserts\" dumps is that all numeric values are quoted\nin INSERTs (which is permitted in PostgreSQL), i.e.::\n\n  INSERT INTO tablename (id, ...) VALUES ('2', ...);\n\nA (5 times slower) Python version is also provided.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreddez%2Fpg-dump2insert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreddez%2Fpg-dump2insert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreddez%2Fpg-dump2insert/lists"}