DooDooLamb News

Nikolay Samokhvalov: PGAIBench and AAA: can AI safely change production Postgres?

Brief published November 24, 2026 ยท Original source published November 23, 2026

Original reporting by Nikolay Samokhvalov at postgres.ai.

Automated brief. Verify important details at the original source.

Nikolay Samokhvalov: PGAIBench and AAA: can AI safely change production Postgres?

What happened

A benchmark called PGAIBench tested 10 AI models across 949 live Postgres 18.7 runs, generating 408 scored primary changes. Of those, 13 caused harm. When those same changes were replayed through a proposed architecture called AAA, it blocked 12 of the 13 harmful changes while approving 377 of 378 safe or unclassified ones. The AAA design uses a tiered structure where AI roles have no direct write access to databases, routing all writes through a controlled feedback path intended to improve over time.

Why it matters

The false-negative rate of one missed harmful change out of 13, and one false positive out of 378 safe changes, gives builders a concrete baseline for evaluating AI-assisted schema or config changes in production Postgres environments. The benchmark uses live runs rather than synthetic data, which makes the safety figures more directly applicable to real deployment decisions.

What to watch

Whether PGAIBench results replicate across additional Postgres versions or model families, and whether the AAA architecture moves from a proposed design to a tested implementation with published results.

Original source