{"id":13468960,"url":"https://github.com/eradman/ephemeralpg","last_synced_at":"2025-04-30T11:11:23.606Z","repository":{"id":50484159,"uuid":"126983744","full_name":"eradman/ephemeralpg","owner":"eradman","description":"Quickly spin up a temporary PostgreSQL test databases","archived":false,"fork":false,"pushed_at":"2024-09-07T19:04:36.000Z","size":298,"stargazers_count":186,"open_issues_count":0,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-13T00:08:09.938Z","etag":null,"topics":["postgresql-database","temporary-database","test-automation"],"latest_commit_sha":null,"homepage":"http://eradman.com/ephemeralpg/","language":"Ruby","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/eradman.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","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":"2018-03-27T12:35:38.000Z","updated_at":"2024-10-10T14:47:33.000Z","dependencies_parsed_at":"2024-09-07T20:25:24.932Z","dependency_job_id":null,"html_url":"https://github.com/eradman/ephemeralpg","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eradman%2Fephemeralpg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eradman%2Fephemeralpg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eradman%2Fephemeralpg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eradman%2Fephemeralpg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eradman","download_url":"https://codeload.github.com/eradman/ephemeralpg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243505960,"owners_count":20301618,"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":["postgresql-database","temporary-database","test-automation"],"created_at":"2024-07-31T15:01:22.762Z","updated_at":"2025-03-14T01:02:33.521Z","avatar_url":"https://github.com/eradman.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"Ephemeral PostgreSQL\n====================\n\nRun tests on an isolated, temporary PostgreSQL database.\n\nTemporary database created with `pg_tmp` have a limited shared memory footprint\nand are automatically garbage-collected after the number of seconds specified by\nthe `-w` option (the default is 60).\n\n`pg_tmp` reduces the wait time for a new database to less than one second by\ninitializing a database in the background that is used by subsequent\ninvocations.\n\nSource Installation - BSD, Mac OS, and Linux\n--------------------------------------------\n\n    make install\n\nOr to specify a specific installation location\n\n    PREFIX=$HOME/local make install\n\n\nMan Page Examples for pg_tmp(1)\n-------------------------------\n\nCreate a temporary database and run a query:\n\n    uri=$(pg_tmp)\n    psql $uri -f my.sql\n\nStart a temporary server with a custom extension:\n\n    uri=$(pg_tmp -o \"-c shared_preload_libraries=$PWD/auth_hook\")\n    psql $uri -c \"SELECT 1\"\n\nNews\n----\n\nNotification of new releases are provided by an\n[Atom feed](https://github.com/eradman/ephemeralpg/releases.atom),\nand release history is covered in the [NEWS](NEWS) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feradman%2Fephemeralpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feradman%2Fephemeralpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feradman%2Fephemeralpg/lists"}