{"id":41215749,"url":"https://github.com/pgagroal/pgagroal","last_synced_at":"2026-02-17T17:02:50.263Z","repository":{"id":37797065,"uuid":"204962510","full_name":"pgagroal/pgagroal","owner":"pgagroal","description":"High-performance connection pool for PostgreSQL","archived":false,"fork":false,"pushed_at":"2026-02-09T21:49:25.000Z","size":3077,"stargazers_count":737,"open_issues_count":29,"forks_count":92,"subscribers_count":19,"default_branch":"master","last_synced_at":"2026-02-10T01:28:46.089Z","etag":null,"topics":["connection","high-performance","pool","postgresql"],"latest_commit_sha":null,"homepage":"https://pgagroal.github.io/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pgagroal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-08-28T15:19:42.000Z","updated_at":"2026-02-09T21:45:07.000Z","dependencies_parsed_at":"2023-10-14T20:27:21.588Z","dependency_job_id":"3dfca362-ac04-4eb3-a676-0f9a2d2f2be6","html_url":"https://github.com/pgagroal/pgagroal","commit_stats":null,"previous_names":["pgagroal/pgagroal"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/pgagroal/pgagroal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgagroal%2Fpgagroal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgagroal%2Fpgagroal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgagroal%2Fpgagroal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgagroal%2Fpgagroal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgagroal","download_url":"https://codeload.github.com/pgagroal/pgagroal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgagroal%2Fpgagroal/sbom","scorecard":{"id":171214,"data":{"date":"2025-08-11","repo":{"name":"github.com/agroal/pgagroal","commit":"f9243a9d017badcc05d1652ef578f0b56353ed0b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":6,"reason":"Found 19/30 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.6.0 not signed: https://api.github.com/repos/agroal/pgagroal/releases/143227853","Warn: release artifact 1.5.1 not signed: https://api.github.com/repos/agroal/pgagroal/releases/88479185","Warn: release artifact 1.5.0 not signed: https://api.github.com/repos/agroal/pgagroal/releases/75782984","Warn: release artifact 1.4.2 not signed: https://api.github.com/repos/agroal/pgagroal/releases/67663231","Warn: release artifact 1.4.1 not signed: https://api.github.com/repos/agroal/pgagroal/releases/61878954","Warn: release artifact 1.6.0 does not have provenance: https://api.github.com/repos/agroal/pgagroal/releases/143227853","Warn: release artifact 1.5.1 does not have provenance: https://api.github.com/repos/agroal/pgagroal/releases/88479185","Warn: release artifact 1.5.0 does not have provenance: https://api.github.com/repos/agroal/pgagroal/releases/75782984","Warn: release artifact 1.4.2 does not have provenance: https://api.github.com/repos/agroal/pgagroal/releases/67663231","Warn: release artifact 1.4.1 does not have provenance: https://api.github.com/repos/agroal/pgagroal/releases/61878954"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'","Warn: branch protection not enabled for branch '1.0.x'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:112: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:134: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:154: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:171: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:174: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:228: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:269: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:281: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:338: update your workflow using https://app.stepsecurity.io/secureworkflow/agroal/pgagroal/ci.yml/master?enable=pin","Warn: containerImage not pinned by hash: contrib/docker/Dockerfile.alpine:28","Warn: containerImage not pinned by hash: contrib/docker/Dockerfile.alpine:64: pin your Docker image by updating alpine:latest to alpine:latest@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: containerImage not pinned by hash: contrib/docker/Dockerfile.rocky9:27","Warn: containerImage not pinned by hash: contrib/docker/Dockerfile.rocky9:72: pin your Docker image by updating rockylinux:9 to rockylinux:9@sha256:d7be1c094cc5845ee815d4632fe377514ee6ebcf8efaed6892889657e5ddaaa6","Warn: containerImage not pinned by hash: test/Dockerfile.testsuite:28: pin your Docker image by updating rockylinux:9 to rockylinux:9@sha256:d7be1c094cc5845ee815d4632fe377514ee6ebcf8efaed6892889657e5ddaaa6","Warn: pipCommand not pinned by hash: test/Dockerfile.testsuite:54","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   5 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T16:31:16.382Z","repository_id":37797065,"created_at":"2025-08-16T16:31:16.382Z","updated_at":"2025-08-16T16:31:16.382Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29550829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["connection","high-performance","pool","postgresql"],"created_at":"2026-01-23T00:01:13.980Z","updated_at":"2026-02-17T17:02:50.234Z","avatar_url":"https://github.com/pgagroal.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# pgagroal\n\n[**pgagroal**](https://github.com/pgagroal/pgagroal) is a high-performance protocol-native connection pool for [PostgreSQL](https://www.postgresql.org).\n\nPronounced: p-g-a-gro-al, named after [A](https://www.visitportugal.com/en/content/praia-fluvial-do-agroal)[gro](https://www.google.com/maps/place/Agroal,+Portugal/@39.6775431,-8.4486056,14z/)[al](https://www.infatima.pt/en/nearby/sun-sea/fluvial-beaches/agroal/) in Portugal.\n\n## Features\n\n* High performance\n* Connection pool\n* Limit connections for users and databases\n* Prefill support\n* Remove idle connections\n* Perform connection validation\n* Enable / disable database access\n* Graceful / fast shutdown\n* Prometheus support\n* Grafana 12 dashboard\n* Remote management\n* Authentication query support\n* Failover support\n* Transport Layer Security (TLS) v1.2+ support\n* Daemon mode\n* User vault\n\nSee [Getting Started](./doc/GETTING_STARTED.md) on how to get started with [**pgagroal**](https://github.com/pgagroal/pgagroal).\n\nSee [Configuration](./doc/CONFIGURATION.md) on how to configure [**pgagroal**](https://github.com/pgagroal/pgagroal).\n\nSee [Performance](./doc/PERFORMANCE.md) for a performance run.\n\n## Overview\n\n[**pgagroal**](https://github.com/pgagroal/pgagroal) makes use of\n\n* Process model\n* Shared memory model across processes\n* [liburing](https://github.com/axboe/liburing) for fast network interactions\n* [Atomic operations](https://en.cppreference.com/w/c/atomic) are used to keep track of state\n* The [PostgreSQL](https://www.postgresql.org) native protocol\n  [v3](https://www.postgresql.org/docs/11/protocol-message-formats.html) for its communication\n\n[**pgagroal**](https://github.com/pgagroal/pgagroal) will work with any [PostgreSQL](https://www.postgresql.org) compliant driver, for example\n[pgjdbc](https://jdbc.postgresql.org/), [Npgsql](https://www.npgsql.org/) and [pq](https://github.com/lib/pq).\n\nSee [Architecture](./doc/ARCHITECTURE.md) for the architecture of [**pgagroal**](https://github.com/pgagroal/pgagroal).\n\n## Tested platforms\n\n* [Fedora](https://getfedora.org/) 38+\n* [RHEL 9.x](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9)\n* [Rocky Linux 9.x](https://rockylinux.org/)\n\n* [FreeBSD](https://www.freebsd.org/)\n* [OpenBSD](http://www.openbsd.org/)\n\n\n## Compiling from sources\n\n[**pgagroal**](https://github.com/pgagroal/pgagroal) can be compiled from sources,\nafter having installed all the required dependencies:\n\n* [gcc 8+](https://gcc.gnu.org) (C17) or [clang 8+](https://clang.llvm.org/)\n* [cmake](https://cmake.org)\n* [GNU make](https://www.gnu.org/software/make/) or BSD `make`\n* [liburing](https://github.com/axboe/liburing)\n* [OpenSSL](http://www.openssl.org/)\n* [rst2man](https://docutils.sourceforge.io/)\n* [libatomic](https://gcc.gnu.org/wiki/Atomic)\n* [Doxygen](https://doxygen.nl/index.html)\n* [pdflatex](https://tug.org/texlive/)\n* [systemd](https://www.freedesktop.org/wiki/Software/systemd/) (on Linux systems)\n* [zlib](https://zlib.net)\n* [zstd](http://www.zstd.net)\n* [lz4](https://lz4.github.io/lz4/)\n* [bzip2](http://sourceware.org/bzip2/)\n* [binutils](https://www.gnu.org/software/binutils/)\n\n\nSee the [documentation about installing the required dependencies](doc/DISTRIBUTIONS.md).\n```sh\ndnf install git gcc cmake make      \\\n            liburing liburing-devel \\\n            openssl openssl-devel   \\\n            systemd systemd-devel   \\\n            python3-docutils        \\\n            libatomic               \\\n            zlib zlib-devel         \\\n            libzstd libzstd-devel   \\\n            lz4 lz4-devel           \\\n            bzip2 bzip2-devel       \\\n            clang clang-analyzer clang-tools-extra\n```\n\n\n### Release build\n\nThe following commands will install [**pgagroal**](https://github.com/pgagroal/pgagroal) in the `/usr/local` hierarchy\nand run the default configuration.\n\n```sh\ngit clone https://github.com/pgagroal/pgagroal.git\ncd pgagroal\nmkdir build\ncd build\ncmake -DCMAKE_INSTALL_PREFIX=/usr/local ..\nmake\nsudo make install\n/usr/local/bin/pgagroal -c /usr/local/etc/pgagroal/pgagroal.conf -a /usr/local/etc/pgagroal/pgagroal_hba.conf\n```\n\nSee [RPM](./doc/RPM.md) for how to build a RPM of [**pgagroal**](https://github.com/pgagroal/pgagroal).\n\n### Debug build\n\nThe following commands will create a `DEBUG` version of [**pgagroal**](https://github.com/pgagroal/pgagroal).\n\n```sh\ngit clone https://github.com/pgagroal/pgagroal.git\ncd pgagroal\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Debug ..\nmake\ncd src\ncp ../../doc/etc/*.conf .\n./pgagroal -c pgagroal.conf -a pgagroal_hba.conf\n```\n\nRemember to set the `log_level` configuration option to `debug5`.\n\n## Contributing\n\nContributions to [**pgagroal**](https://github.com/pgagroal/pgagroal) are managed on [GitHub.com](https://github.com/pgagroal/pgagroal/)\n\n* [Ask a question](https://github.com/pgagroal/pgagroal/discussions)\n* [Raise an issue](https://github.com/pgagroal/pgagroal/issues)\n* [Feature request](https://github.com/pgagroal/pgagroal/issues)\n* [Code submission](https://github.com/pgagroal/pgagroal/pulls)\n\nContributions are most welcome !\n\nPlease, consult our [Code of Conduct](./CODE_OF_CONDUCT.md) policies for interacting in our\ncommunity.\n\nConsider giving the project a [star](https://github.com/pgagroal/pgagroal/stargazers) on\n[GitHub](https://github.com/pgagroal/pgagroal/) if you find it useful. And, feel free to follow\nthe project on [Twitter](https://twitter.com/pgagroal/) as well.\n\n## License\n\n[BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgagroal%2Fpgagroal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgagroal%2Fpgagroal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgagroal%2Fpgagroal/lists"}