Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Supabase 9 min read How-to mediumAdept

What is PostgreSQL commitfest and how to contribute

PostgreSQL core changes go through patches emailed to pgsql-hackers and tracked in Commitfests. These are month-long review cycles held five times a year, and the March one ends in mid-April and serves as the annual feature freeze for the October major release. The guide covers squashing a branch into one commit and producing versioned files with `git format-patch -v13`. It then explains registering the thread's Message-ID on commitfest.postgresql.org, handling cfbot CI results and the two-step reviewer/committer status flow. Contributors are expected to review as many patches as they submit, keep rebasing promptly, and show benchmarks with no regressions for performance patches.

Assumes: git rebase and format-patchPostgreSQL basics

Related posts

  • PostgreSQL 19 on ClickHouse Managed Postgres, from day one

    ClickHouse mediumAdept

    PostgreSQL 19 has been generally available on ClickHouse Managed Postgres since its November 2026 release day. That was possible because the service runs unforked community Postgres from the PGDG repository, builds VM images from release candidates with Ubicloud, gates the version behind a feature flag, and stress-tests HA failovers in staging. The post then covers the PostgreSQL 19 features that matter most for operators: REPACK CONCURRENTLY and its caveats (not MVCC-safe, a final ACCESS EXCLUSIVE lock, disk space needs), WAIT FOR LSN for read-your-writes on replicas, sequence replication and publication EXCEPT, parallel autovacuum index workers with scoring, and pg_plan_advice. A pgbench run with one synchronous standby showed about 2% higher TPS than PostgreSQL 18, and several defaults changed, including jit off, lz4 TOAST compression and max_locks_per_transaction at 128.

  • Code Review Can Be Better

    TigerBeetle mediumAdept

    TigerBeetle shelved git-review, an experiment that stored code review as a single commit of inline marked comments on top of the PR branch, edited by author and reviewer and reverted once all threads were resolved. Reviewing locally with inline comments worked very well, but applying requested changes caused merge conflicts with review comments at hunk boundaries, and frequent force-pushes added friction. The mismatch between strict hash-chained history for code and the looser merging review needs pushed the tool past a small-script budget. Git's possible adoption of Gerrit-style Change-Ids may enable per-commit interdiff review, and related tools such as Fossil, git-appraise, prr and flirt are listed.

  • Building GitHub with Ruby and Rails

    GitHub Engineering mediumAdept

    GitHub's ~2M-line Rails monolith upgrades to the latest Rails main-branch commit every week via a scheduled GitHub Actions workflow that opens an automated PR, runs all builds, and ships the next day. CI also runs a parallel build against the latest Ruby commit, which let GitHub test Ruby 3.2 release candidates on production traffic, catch regressions such as a keyword-argument allocation increase before release, and adopt Ruby 3.2.1 on release day. Benefits include dropping nearly all Rails patches, avoiding big-bang migrations, and better security posture. The approach depends on a thorough test suite and progressive rollout deploys.

  • Git Organized: A Better Git Flow

    Render mediumAdept

    Commit-as-you-go branches often produce commits mixing unrelated or half-finished changes, which makes reverts risky and pull requests tedious to review. A cleaner flow is to do the work first with throwaway WIP commits, then `git reset` back to the branch point (keeping the working tree), and rebuild logically grouped commits using `git add -p` for partial files. Verify that each new commit works on its own by stashing the remaining changes and testing, and use `git commit --amend` to fix up omissions. If anything goes wrong, `git reflog` can recover the original commits.

  • Why Does Everyone Run Ancient Postgres Versions?

    Neon easyNovice

    Many teams stay on old Postgres major versions because older releases already meet most needs and major upgrades are costly: they can break backward compatibility and usually require logical replication, incremental table migration, testing and a planned cutover. Knock (11 to 15) and Retool (9 to 13, 4 TB) both followed that pattern, including separate publications with copy_data = false for large append-only tables and feature-flagged traffic switching. Reasons to upgrade anyway include the five-year support lifecycle, the growing difficulty of skipping many versions, performance gains such as roughly halved tail latency since version 8, and ecosystem compatibility. The pgversions.com tool lists the security fixes, bug fixes and features a given version is missing.

The quest for software engineering knowledge.

Look:
Layout: