{"id":34711915,"url":"https://github.com/cbbrowne/pginit","last_synced_at":"2026-05-22T20:31:20.704Z","repository":{"id":985080,"uuid":"789137","full_name":"cbbrowne/pginit","owner":"cbbrowne","description":"Postgres init script","archived":false,"fork":false,"pushed_at":"2011-07-14T21:16:17.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-11T04:44:44.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbbrowne.png","metadata":{"files":{"readme":"README","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}},"created_at":"2010-07-21T17:08:39.000Z","updated_at":"2017-01-11T23:57:16.000Z","dependencies_parsed_at":"2022-07-18T17:17:25.575Z","dependency_job_id":null,"html_url":"https://github.com/cbbrowne/pginit","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/cbbrowne/pginit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbbrowne%2Fpginit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbbrowne%2Fpginit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbbrowne%2Fpginit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbbrowne%2Fpginit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbbrowne","download_url":"https://codeload.github.com/cbbrowne/pginit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbbrowne%2Fpginit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33366518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"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":[],"created_at":"2025-12-25T00:44:26.787Z","updated_at":"2026-05-22T20:31:20.699Z","avatar_url":"https://github.com/cbbrowne.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"PostgreSQL init script\n\nThis script is intended to make it easy to set up PostgreSQL\ninstances, run them, and allow users to reference them.\n\npostgres@cbbrowne:~/pginit\u003e ./pgsql.sh\nbase: /var/lib/postgresql/dbs\ndbbase: /var/lib/postgresql/dbs\nExpected port: 7099  Configured port in /var/lib/postgresql/dbs/PGHEAD/postgresql-HEAD/postgresql.conf 7099\nUsage: ./pgsqlhead.sh [start|autovacuum|reload|stop|env|mkdir|initdb]\npostgres@cbbrowne:~/pginit\u003e\n\nstart: starts up the instance\n\nautovacuum: obsolete - for use when autovac was a separate program\n\nreload: reloads configuration, so that if you change pg_hba.conf or\n    postgresql.conf, that config immediate effect\n\nstop: stops the instance\n\nenv: loads the configuration (e.g. - PGPORT, PGHOST, ...) into current shell\n\nmkdir: creates directories needed for this PG instance\n\ninitdb: runs \"initdb\" to initialize the database cluster.  Rewrites\n    postgresql.conf based on environment variables within this script","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbbrowne%2Fpginit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbbrowne%2Fpginit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbbrowne%2Fpginit/lists"}