Skip to content
CAI
Software that uses CAICheck a score

erleans/pgo

70.7

Strong · 2 October 2026

3.1k

lines of production code

Erlang

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

PGo is an Erlang library that serves as a PostgreSQL client and connection pool manager. It provides core database operations including query execution, transaction management, and SSL/TLS authentication, while supporting advanced features like LISTEN/NOTIFY and dynamic row decoding. The system integrates OpenTelemetry for distributed tracing and includes comprehensive test coverage for connection lifecycle and data type handling.

Features

Initial release of pgo Postgres client with connection pool

Introduces the pgo library, a Postgres client and connection pool for Erlang. This release adds core functionality for establishing connections, executing queries and transactions, and managing a connection pool. It includes support for SSL/TLS connections, SCRAM-SHA-256 authentication, and OpenTelemetry-based tracing. The library also provides features such as LISTEN/NOTIFY support, dynamic password functions, and configurable row decoding options (maps vs tuples).

src · high confidence

Behavioural changes

Major dependency overhaul and configuration simplification

The project has replaced the \sbroker\ and \pgsql\ dependencies with \backoff\, \pg\_types\ (0.6.0), and \opentelemetry\_api\ (1.5). This shift simplifies pool configuration by removing the \workers\ parameter and adopting a default pool name of \pgo\_default\. Additionally, the project license has been updated from BSD to Apache 2.0, and the README has been rewritten to reflect the new API and OpenTelemetry integration.

(repo-wide) · high confidence

Migration to pgo configuration and added default logging

The configuration structure has been updated to use the \pgo\ application instead of the previous \pgsql\_pool\ for database connection management, with the default pool now set to a size of 5. Additionally, the example configuration now includes a default kernel logger setup that outputs debug-level messages in a single-line format, ensuring consistent logging behavior out of the box.

config · high confidence

Test coverage

Added test SSL certificates for server authentication; Expanded Common Test suite for connection pooling, types, and tracing.

Housekeeping

Add PGo library overview documentation

Added a new \doc/overview.edoc\ file that introduces the PGo PostgreSQL client library. The documentation explains the library's design philosophy (direct socket usage, binary protocol), lists system requirements (Erlang/OTP 20+), and provides usage examples for configuring and starting connection pools via application environment or supervisor trees. It also details configuration options for database connections, pool behavior, and query execution, as well as integration with Telemetry and OpenCensus for tracing.

doc · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 72 → 71 (-1.1)
  • Rubric changed (rubric-2026.09.12 → rubric-2026.09.18) — scores are not directly comparable.

Lenses

  • Code Health 92 → 92 (+0.0)
  • Architecture 100 → 100 (+0.0)
  • Maturity 61 → 61 (+0.0)
  • Readiness 68 → 64 (-4.3)
  • Security 99 → 100 (+0.3)

Resolved (1)

  • Coverage not measured — no coverage collector is wired up

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

erleans/pgo was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 2 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 1c8bf6ffa49903535ab46c7baf2e9d3d8d67c0b0 — the exact code this score is about.
  • Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.