postgres=# select * from postgres_hacking where visibility = 'public';

Postgres hacking,
in public.

/* agentic Postgres hacking in public — we use AI heavily, inspect every detail, test the ugly edges, and take full responsibility for the result */

latest session

archive →

2026-11-25

PG Roast v2: CommitFest triage and production bugs

Demoing PG Roast v2, ranking CommitFest entries, and planning a frozen public snapshot for committer feedback.

active work

view all →

Reduce shutdown latency and turn binary replacement, release-note remediation, and extension compatibility into a repeatable fleet workflow.

blocker: Adaptive checkpointing and cache handoff are design ideas without bounded benchmarks or a fail-closed compatibility protocol yet.

Inspired by the October 29 Hacking Postgres session, viewer Adam Brusselback implemented WHERE support for targeted REFRESH MATERIALIZED VIEW and has continued revising it through review.

blocker: The current patch has acknowledged privilege-escalation and error-cleanup bugs; the next revision has not been posted yet.

Salma El-Sayed’s implementation, mentored by Kirk Wolak, merges sparse siblings and reclaims merged-away tombstone pages without rebuilding the entire index.

blocker: The October 14 testing campaign reports wrong results, cleanup and validation problems, and standby safety failures in the prototype. Reproduce against exact revisions, land focused fixes, and retest before benchmarking or readiness claims.

also supporting

details →

pg_stat_statements scalability

Quan Hoang Truong + AWS contributors

Quan continued the proposed GSoC work on LWLock contention. In parallel, an AWS-led patch series implements a broader pgstat-based redesign for the same scalability problem.

recent sessions

all 53 →
· details · youtube ↗

PG Roast: challenge the idea before reviewing the code

Designing an adversarial proposal reviewer, a CommitFest Shortlist, and evidence-first feedback that saves committer time.

Nik Samokhvalov, Kirk Wolak, and Andrey Borodin explored PG Roast: an adversarial reviewer that asks whether a Postgres proposal is worth accepting before examining its implementation. The call connected precedent-backed objections and practical testing with a curated CommitFest Shortlist, expert routing, and shorter human-owned mailing-list replies. The agreed pilot starts privately on Andrey’s own CommitFest patches. These are discussion notes and proposed work, not evidence that the complete system has shipped.

Summary from session notes; timecodes pending captions.

exploration

direct mapping
· details · youtube ↗

AI-assisted reviews: concise messages, verifiable evidence

Review workload, personal responsibility for claims, durable supporting evidence, and proposed communication experiments.

The published notes discuss review workload, AI-assisted review quality, and concise messages backed by evidence. They propose a trial of short, personally reviewed cover messages with detailed supporting material. They also revisit Committer in Training, B-tree merge follow-up, and possible archive improvements. This account uses the AI-prepared notes in issue #124; it has not been independently checked against the recording. No new technical finding, archive implementation, or project release is established by these notes.

Summary from session notes; timecodes pending captions.

exploration

direct mapping
· 50:19 · details · youtube ↗

B-tree merge: correctness first

Test Salma El-Sayed’s B-tree leaf-page merge prototype: snapshots, parallel scans, VACUUM, and standby safety.

Nik Samokhvalov, Kirk Wolak, and Salma El-Sayed tested the B-tree leaf-page merge prototype and agreed to prioritize correctness before benchmarks. The discussion covered boundary pivots, merge-group metadata, concurrent readers, and deferred VACUUM cleanup. Nik reported standby and parallel-scan failures; the group examined index-only-scan snapshot safety and the lifetime of pinned pages. The next step is focused reproduction, small fixes, and retesting against exact revisions, not a claim that the prototype is ready to ship.

Summary from session notes; timecodes pending captions.

active

direct mapping
· details · youtube ↗

Agentic Hacking Postgres: Committer in Training

Standby snapshot corruption, seven upstream bug fixes, and a plan for adversarial CommitFest review.

Nik Samokhvalov, Andrey Borodin, and Kirk Wolak discussed standby snapshot corruption and how to review AI-assisted patches without losing human judgment. Nik reported about 30 bug reports with proposed fixes, seven committed fixes, and two false positives. The main proposal was Committer in Training: a small, low-risk CommitFest queue reviewed by adversarial agents, with red-green tests and public evidence. The group agreed to start a static bug-fixing record and work toward a patch-addressable CommitFest overlay.

Summary from session notes; timecodes pending captions.

active

direct mapping