# Kernel Patches

> One community base and four pairs of upstream imports and Mimus adaptations, in build order.

---

LLMS index: [llms.txt](/llms.txt)

---

Start at [Base](/docs/patches/base/) for the PostgreSQL version and the data directory’s feature requirements. Then follow the pairs in order. The first layer of each pair carries selected upstream changes. The second integrates them with the preceding layers and the matching extension. A server built through 401 contains all four groups. Use native PostgreSQL alone or enable one compatibility listener per instance. TDE and Spock serve storage and replication independently.

---

Section pages:

- [Base · PostgreSQL 19.0](/docs/patches/base/): Identify the community base, the Mimus revision and the directory requirements recorded by patch 000.
- [100 / 101 · Percona TDE](/docs/patches/tde/): Storage and WAL interfaces, startup checks and the matching backup client.
- [200 / 201 · Spock](/docs/patches/spock/): Preserve old column values and commit metadata for conflict resolution and replay.
- [300 / 301 · MySQL](/docs/patches/mysql/): How the OpenHalo connection hooks and pg_mysql share the PostgreSQL backend.
- [400 / 401 · SQL Server](/docs/patches/mssql/): Babelfish parser and executor changes, the PostgreSQL 19.0 port and TDS integration.

---

Backlinks:

- [Docs](/docs/)
- [Connections and extensions](/docs/intro/architecture/)
