{"id":16219650,"url":"https://github.com/ololobus/pg-scripts","last_synced_at":"2026-05-20T14:33:53.254Z","repository":{"id":150988053,"uuid":"96771997","full_name":"ololobus/pg-scripts","owner":"ololobus","description":"PostgreSQL development scripts","archived":false,"fork":false,"pushed_at":"2021-03-11T15:18:13.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T23:42:44.213Z","etag":null,"topics":["postgresql","postgresql-database","shell","shell-scripts","software-development"],"latest_commit_sha":null,"homepage":null,"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/ololobus.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2017-07-10T11:53:41.000Z","updated_at":"2021-03-11T15:18:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"167024ad-ec6c-452b-9797-15ea2fdf2c30","html_url":"https://github.com/ololobus/pg-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ololobus/pg-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololobus%2Fpg-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololobus%2Fpg-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololobus%2Fpg-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololobus%2Fpg-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ololobus","download_url":"https://codeload.github.com/ololobus/pg-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ololobus%2Fpg-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265311871,"owners_count":23745161,"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","postgresql-database","shell","shell-scripts","software-development"],"created_at":"2024-10-10T11:55:18.872Z","updated_at":"2026-05-20T14:33:48.232Z","avatar_url":"https://github.com/ololobus.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"PostgreSQL development scripts\n==============================\n\n### Dependencies\n\n#### Linux (Debian)\n\nInstall dependencies:\n```shell\nsudo apt install bison flex build-essential gcc make zlib1g-dev libreadline7 libreadline-dev\n```\n\nYou may need some extra deps:\n```shell\nsudo apt install libicu-dev libgss-dev libkrb5-dev libxml2-dev libxslt1-dev xsltproc \\\n                     lcov tcl-dev libzstd-dev libssl-dev libldap2-dev gettext \\\n                     python-dev libpython-dev \\\n                     perl libperl-dev libdbi-perl cpanminus\n```\n\nPackages for documentation:\n```shell\nsudo apt install libxml2-utils docbook docbook-xml docbook-xsl fop dbtoepub\n```\n\n#### macOS\n\nMinimal dev dependencies:\n```shell\nbrew install bison flex make perl\n```\n\n```shell\ncpan IPC::Run\n```\n\n### PG build\n\nGet Postgres sources\n```shell\ngit clone https://github.com/postgres/postgres.git\n```\n\nGo to your working directory\n```shell\ncd postgres\n```\n\nSet up `ENV`\n```shell\n. pg-env set\n```\n\nDo some stuff\n```shell\npg-configure\nmake -j -s \u0026\u0026 make -j -s install\npg-initdb\npg-server start\n```\n\nClean up and rebuild everything\n```shell\npg-rebuild\n```\n\n### Out-of-source build\nGet Postgres sources\n```shell\ngit clone https://github.com/postgres/postgres.git\n```\n\nGo to your working directory\n```shell\nmkdir postgres_build \u0026\u0026 cd postgres_build\n```\n\nSet up `ENV`\n```shell\n. pg-env set\n```\n\nDo some stuff\n```shell\npg-configure /path/to/postgres/sources\nmake -j4 -s install\ninitdb\npg-server start\n```\n\n```shell\ncreatedb\npsql\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fololobus%2Fpg-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fololobus%2Fpg-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fololobus%2Fpg-scripts/lists"}