Repository navigation
A companion release: one pooled connection lifecycle shared by the
long-running companions, so pgokf-mcp survives a dropped link to
PostgreSQL. The catalog is unchanged - no SQL object or data differs from
0.6.0 - so the receipt-only pgokf--0.6.0--0.7.0.sql edge carries an
installed 0.6.0 catalog to 0.7.0 through an ordinary
ALTER EXTENSION pgokf UPDATE, and the committed pgokf--0.7.0.sql install
script is the 0.6.0 one regenerated under the new version.
Security
url2.5.9 for RUSTSEC-2026-0592 (a stack overflow in
Url::origin()on a URL nested in manyblob:prefixes).
pgokf-confluencecallsUrl::origin(), but only on http, https and
mailto links and on API links of at most 16 KiB, too short to nest deeply
enough to overflow, so it was not exploitable; the update keeps the
advisory gates passing and removes the flaw. The lockfile changesurl
and theform_urlencoded1.2.3 it requires, and the third-party notices
follow.quinn-proto0.11.19 andquinn-udp0.5.16 for RUSTSEC-2026-0523,
RUSTSEC-2026-0524 and RUSTSEC-2026-0538 (a peer opening streams beyond
the stream limit, a long Retry token that can panic or exhaust a client's
memory, and a receive loop that can spin on a truncated datagram).
quinnis in the lockfile only throughreqwest's optional HTTP/3
support, which no pgokf crate enables, so no pgokf binary links it. The
lockfile changes those two entries, socargo auditpasses again.- Two unmaintained-crate notices are accepted, not fixed.
RUSTSEC-2026-0543 markschronounmaintained and RUSTSEC-2026-0542
markshumantimeunmaintained; neither reports a vulnerability.chrono
comes in through arrow and parquet (the extension's Parquet export) and
humantimethroughobject_store(pgokf-ingest), and the latest
releases of both still require them.deny.tomland the new
.cargo/audit.tomlignore exactly those two IDs, each with its reason,
socargo deny checkandcargo auditpass again and any other advisory
still fails.
Fixed
pgokf-mcpreconnects instead of exiting. It held its catalog
connections for its whole life and stopped when any of them closed,
leaving the restart to a supervisor. Anything that closes idle
connections turned that into a restart loop with a growing back-off:
Azure Container Apps' TCP ingress closes a connection idle for 300
seconds, so an idle server exited every five minutes. Its reader, writer
and token-lookup connections now come from pools that replace a closed
connection on the next request. The health check asks on a connection of
its own, so/healthzreports 503 only while the catalog cannot be
reached, not while every reader is busy.
Changed
-
pgokf-pgconnowns the connection lifecycle. Besides the connect
step and TLS policy it now provides:Session: the tenant and the statement and lock bounds applied to
every new connection.Pool: the poolpgokf-webused, set up from aSession.Borrowed: the guard for one piece of work.finishtakes the guard and returns the connection at once, so
finished work cannot keep a connection while it borrows another.transactioncommits or rolls back and returns the connection only
once the transaction has ended cleanly.- Work abandoned mid-flight closes its connection instead of returning
it, and every pooled connection has the server check each second that
its client is still there (client_connection_check_interval), so
the abandoned statement stops too and the pool's backends stay within
its size.
pgokf-webandpgokf-mcpbuild their pools through it, and
pgokf-confluencesets its import session up throughSession. -
pgokf-mcpconnections.- Plugin builds no longer queue behind one another: each borrows a
reader connection of its own. Writes still run one at a time. - A request waits at most a minute for a free connection.
- A refused read (a bad cursor or limit) rolls back and hands its
connection back rather than closing it. - Each process opens at most twelve connections: eight readers, one for
the health check, two for token lookups and one writer.
- Plugin builds no longer queue behind one another: each borrows a
-
PostgreSQL 19 is tested as the GA 19.0. PostgreSQL 19.0 shipped on
2026-11-20 and the pinned 19 RC 2 base image and packages no longer
exist, so CI's PG19 leg (clippy, the in-database suite, an image smoke
test) now builds frompostgres:19and PGDG's19.xpackages exactly as
15-18 do, and the verifier refuses a prerelease tag or package for any
major. PG19 packages and images are still not published.