This is the multi-page printable view of this section.
Reference
- 1: Protocol, port and capability matrix
- 2: Preload profiles and server parameters
- 3: 19.0.1-r4 verification and test matrix
- 4: Kernel Patch Manifest (000–401)
Consult these technical reference pages for exact protocol ports, preload profiles, GUC settings, product acceptance data, and patch-series source identities.
- Protocol, port and capability matrix — Side-by-side summary of all eight wire protocols, core engine capabilities, licenses, and integration maturity.
- Preload profiles and server parameters — Consolidated
shared_preload_librariescombinations and keymimus,mysql,babelfish,pg_tde, andspockGUC settings. - 19.0.1-r4 verification and test matrix — Debian 13 amd64 acceptance counts, 12 tested combinations, upstream regression baselines, and OCI digests.
- Kernel patch manifest (000–401) — Exact build order, upstream baselines, Git trees, and adaptation scope for
patch/series.json.
1 - Protocol, port and capability matrix
Wire protocols
| Protocol | Default port | Entry class | Implementation | Kernel layer | Status |
|---|---|---|---|---|---|
| PostgreSQL | 5432 | Session (native) | Native PostgreSQL 19.0 server | 000 | Verified (19.0.1-r4) |
| MySQL | 3306 | Session hook | OpenHalo protocol hook + pg_mysql 1.0 | 300 / 301 | Verified (19.0.1-r4 + public source) |
| MSSQL | 1433 | Session hook | Babelfish for PostgreSQL (babelfishpg_*) | 400 / 401 | Verified (19.0.1-r4) |
| MongoDB | 27017 | Service gateway | Single-node DocumentDB 1.2 + gateway | None | Verified single-node (19.0.1-r4) |
| Redis | 6379 | Service gateway | pgredis Go gateway + pg_redis extension | None | Release candidate (v0.1.0-rc1 on PG 18) |
| etcd | 2379 | Service gateway | pgetcd gRPC gateway + pg_etcd extension | None | Release candidate (v0.1.0-rc2 on PG 18) |
| S3 | 9000 | Service gateway | pgsilo backend on Silo (silo_api SQL) | None | MVP in progress |
| Kafka | 9092 | Service gateway | — | — | Design exploration |
Engine capabilities and extensions
| Capability | Component | Kernel layer | License | Summary |
|---|---|---|---|---|
| Transparent Data Encryption | Percona pg_tde 2.3 | 100 / 101 | PostgreSQL-style | Encrypts tde_heap tables, indexes, TOAST, and optional cluster WAL via file, Vault, or KMIP keys |
| Multi-Master Replication | pgEdge Spock 5.0.15 | 200 / 201 | PostgreSQL License | Asynchronous active-active logical replication with last_update_wins, delta_apply, LOLOR, and Snowflake |
| Spatial, Vector & Rust Extensions | PostGIS, pgvector, VectorChord, pgrx 0.20.1, orafce | Header fixes in 401 | Various open source | Build against /usr/mimus-19/bin/pg_config; Citus, TimescaleDB, OrioleDB, and external pg_repack are excluded |
Status definitions
- Verified (
19.0.1-r4): Exercised in the Debian 13 amd64 product acceptance suite on PostgreSQL 19.0; see 19.0.1-r4 Verification. - Release candidate: A versioned release candidate of the standalone gateway + extension project exists and was verified on PostgreSQL 18, pending public packaging.
- MVP in progress: Core object and SQL schemas run in active development toward an initial experimental release inside Silo.
- Design exploration: Documented architectural questions only, with no committed design or implementation schedule.
2 - Preload profiles and server parameters
Preload combinations
Select one client profile per PGDATA directory and combine it optionally with pg_tde and spock. All 12 combinations below passed preload and installation-order acceptance (97/97 orders) in 19.0.1-r4:
| Profile | shared_preload_libraries examples |
|---|---|
| Native PostgreSQL | '', 'pg_tde', 'spock', 'pg_tde, spock' |
| PostgreSQL + MySQL | 'pg_mysql', 'pg_tde, pg_mysql', 'pg_mysql, spock', 'pg_tde, pg_mysql, spock' |
| PostgreSQL + MSSQL | 'babelfishpg_tds', 'pg_tde, babelfishpg_tds', 'babelfishpg_tds, spock', 'pg_tde, babelfishpg_tds, spock' |
Core cluster parameters
| Parameter | Context | Purpose |
|---|---|---|
mimus_required_features | Read-only (SHOW) | Lists cluster-level features (tde, compatibility catalogs, replication metadata) recorded in PGDATA and enforced at startup |
default_table_access_method | User / DB / System | Set to tde_heap to make newly created tables encrypted by default inside a database or session |
wal_level | Postmaster | Must be logical when using spock bidirectional replication |
track_commit_timestamp | Postmaster | Must be on on every node participating in spock conflict resolution |
output_plugin_libraries | Postmaster | Include 'pgoutput,spock_output' on PostgreSQL 19 nodes running spock |
Wire-protocol parameters
| Parameter | Component | Default | Purpose |
|---|---|---|---|
mysql.listener_on | pg_mysql | on | Controls whether the MySQL wire protocol listener starts when pg_mysql is preloaded |
mysql.port | pg_mysql | 3306 | TCP port bound by the MySQL protocol listener |
mysql.database | pg_mysql | 'postgres' | Host PostgreSQL database whose schemas map to MySQL logical databases |
babelfishpg_tds.listen_addresses | Babelfish | '*' | Network interfaces bound by the TDS listener |
babelfishpg_tds.port | Babelfish | 1433 | TCP port bound by the TDS listener |
babelfishpg_tsql.database_name | Babelfish | 'babelfish_db' | PostgreSQL database hosting Babelfish logical databases and schemas |
babelfishpg_tsql.migration_mode | Babelfish | 'single-db' | Logical database mapping mode (single-db or multi-db) |
Encryption and replication parameters
| Parameter | Component | Purpose |
|---|---|---|
pg_tde.wal_encrypt | pg_tde | Enables cluster-wide WAL encryption after configuring a global key provider (requires restart) |
pg_tde.enforce_encryption | pg_tde | Rejects creating unencrypted tables when encryption enforcement is required |
spock.conflict_resolution | spock | Node policy for row conflicts (such as last_update_wins, first_update_wins, keep_local, or error) |
spock.enable_ddl_replication | spock | Controls automatic DDL propagation for replicated objects |
For component-specific settings, see MySQL configuration, PG TDE manual, and pgEdge manual.
3 - 19.0.1-r4 verification and test matrix
What was verified
The 19.0.1-r4 candidate passed product acceptance on Debian 13 amd64 on 5 December 2026. Candidate image identity · Frozen source revisions
| Scope | Result |
|---|---|
| Debian 13 amd64 candidate image | 31/31 product checks, 97/97 preload and installation orders across 12 supported combinations, and 7/7 Spock checks. The release precheck passed with zero waivers. |
| Kernel and backup | All 245 core tests passed on ordinary heap and again on forced tde_heap. All 12 physical backups across the candidate and assertion builds passed independent restore and offline page checks. |
| Native kernel | check-world passed on Debian 13 amd64 and Ubuntu 26.04 amd64 and arm64. All 36 plain data-directory handoff checks passed. Ubuntu coverage applies to the frozen kernel. |
Which combinations were exercised?
The 12 configurations combine three client choices with four storage and replication choices. Each cell was tested across its distinct preload and SQL extension installation orders. The native PostgreSQL connection remains available in every configuration.
| Client configuration | Storage and replication choices exercised | Orders passed |
|---|---|---|
| Native PostgreSQL only | Neither extension, PG TDE, Spock, both | 7/7 |
| PostgreSQL + MySQL | Neither extension, PG TDE, Spock, both | 45/45 |
| PostgreSQL + TDS (MSSQL) | Neither extension, PG TDE, Spock, both | 45/45 |
The single-node MongoDB gateway had separate logical restore checks. DocumentDB restore scope
Upstream regression results
Four upstream suites returned nonzero exit codes. The failures match the reviewed baselines.
| Upstream suite | Exit code | Result |
|---|---|---|
Percona global TDE installcheck-world | 2 | 622 SQL and isolation checks passed. TAP had 31 passing groups, 7 failures and 2 with no tests. Failures include ordinary-tool expectations and operations refused on encrypted sources. |
| pg_tde Meson | 4 | 39 passed, 4 failed, 3 skipped. Two tests lacked Perl dependencies, one differed in Unicode alignment and one expected a physical upgrade of an encrypted cluster. |
| pg_tde Meson with live key services | 1 | 43 passed, 1 failed, 2 skipped. The remaining test expected a physical upgrade that Mimus refuses. |
| Spock SQL | 2 | 32/34 passed. matview and autoddl differed in the order of DROP CASCADE notices. The separate TAP run passed 30 groups with 663 assertions, with one PG17-only group skipped. |
Earlier builds
Earlier validation on Rocky Linux 10.3 x86-64 with GCC 14.3.1 built and exercised all nine cumulative patches. The four-component tree passed 245 core tests before the pgrx header fix. With that fix, pgrx 0.20.1 passed 790 PG19 tests with 3 upstream-default skips. The earlier two-node study exercised bidirectional MySQL/TDS writes on an encrypted table, subscriber catch-up, conflict resolution and point-in-time recovery with plaintext and encrypted WAL. An earlier Ubuntu arm64 candidate passed core regression in six configurations before Spock integration.
Candidate image identity
These digests identify the Debian 13 image used in acceptance. To compare a published image with the candidate, resolve the linux/amd64 manifest and read its config.digest.
| OCI object | Tested SHA-256 digest |
|---|---|
| Image index | sha256:db9e09fa1c9294f406a53964a6b57c2543f5277743b54b15f509a5448447deae |
| Platform manifest | sha256:0c7c251ae65d5ca3e298d11de32085358e6b7e5c0c2418161af5b7bd6667db61 |
| Platform config | sha256:11ddd23673aaeaa39dc80f11988c0e4ed3c2493bbb6625a0cf5d64a8e727c79f |
Choosing this revision
As of 6 December 2026 the public kernel and pg_mysql repositories contain the tested revisions. You can build both from source. The formal Git tag and publication of the verified image are pending. 19.0.1 availability · Source build tutorial
Citus and TimescaleDB are outside the supported configuration, including when pg_tde is disabled. With encrypted WAL, r4 excludes cascading physical replication and a restarted standby receiving WAL again from the start of a segment. Rehearse recovery with the keys, software and backup chain you will deploy. Backup and recovery · pgEdge failover boundaries
4 - Kernel Patch Manifest (000–401)
This reference catalogs the exact nine kernel patch layers (000 through 401) recorded in patch/series.json. Start at Base · PostgreSQL 19.0 for the community commit, cluster feature locks, and matched extension source trees, then inspect each upstream-and-adaptation pair (100/101, 200/201, 300/301, 400/401) in build order.
4.1 - Base · PostgreSQL 19.0
Version identity
19.0.1 means community PostgreSQL 19.0 (REL_19_0, 5c839a2a08b9) plus Mimus revision 1. In 19.0.1-r4, the final patch commit 7af97b6707f5 and the integration commit 0d8a551aa121 in pgsty/mimus have the same tree, 07fbb73680de. The candidate was built from that tree. Some programs in this build, including pg_dump --version, report PostgreSQL 19.0. Keep the build revision and the extension builds with the backup inventory. PostgreSQL 19 manual
What 000 shares
Patch 000 adds common code to record features on first use and check requirements when the server starts. Later pairs supply the feature-specific checks. Read SHOW mimus_required_features on a running server. An unused cluster starts with an empty list. A cluster that installed an extension can still need its recovery support after application sessions disconnect. Preserve the recorded requirements and provision the matching recovery software.
No extension is needed for native PostgreSQL connections. Start here to connect with psql or check the tested platforms.
Match the extension sources
The r4 freeze records the nine kernel layers and the extension inputs in patch/series.json (format 8, patch repository commit 4089ead024de). The kernel layers are 000, 100, 101, 200, 201, 300, 301, 400 and 401, in that order. The standard installation prefix is /usr/mimus-19. Build each extension with that installation’s bin/pg_config and headers. The SQL extension version alone cannot identify a local adaptation.
For a MySQL installation, the mimus/ checkout already contains the integrated kernel. The sibling pg_mysql/ checkout supplies the complete extension. Build from the two source repositories
| Component | Source to build | Resulting Git tree |
|---|---|---|
| pg_tde | pg_tde/ at 5424c937188c plus ext-pg-tde- patches 000, 002, 007, 008, 009, 010 in manifest order | c62d1e2dceae |
| pgEdge (Spock) | spock/ at 5.0.15, frozen commit e710faa6fe21126d898fa660e9b6dc8ed0da9438 | 8da352a31c41 |
| pg_mysql | pg_mysql/ at 1e631f9802c5 | 53dd9be3e87b |
| Babelfish extensions | babelfish/babelfish_extensions/ at 99c35f5ebb80 plus ext-babelfish- patches 001, 004, 010, 011, 012, 013, 014 | 891436a7f948 |
The single-node DocumentDB build starts from documentdb-1.2-0.tar.gz (SHA-256 72069b5b0b48d571dd01b2e9ff587fc56e66762c7ecefecc76e9a7335e46dd6e). The candidate applies ext-documentdb-001-extension-config-dump.patch so a logical archive includes the collection metadata. Its separate gateway is version 1.2.0. Gateway and restore scope
For pg_tde, prepare the indicated extension sources with subprojects/libkmip at 1bf36d7ecdb8, then run meson setup build -Dpg_config=/usr/mimus-19/bin/pg_config and meson install -C build in the extension directory. For Spock, put the matching bin directory first in PATH and run make PG_CONFIG=/usr/mimus-19/bin/pg_config followed by make PG_CONFIG=/usr/mimus-19/bin/pg_config install. Run the install step with write access to the target prefix.
4.2 - 100 / 101 · Percona TDE
Percona storage changes
100 imports selected changes from Percona’s PostgreSQL 19 tree, including its TOAST fix. A pluggable storage manager, relation-file identity during rewrites, asynchronous I/O callbacks and WAL segment I/O hooks give pg_tde a place to encrypt and decrypt pages. The extension supplies tde_heap, key management and the WAL implementation. Percona PostgreSQL
Integration and compatibility
101 integrates callback registration and checks that the TDE storage, WAL and recovery methods are ready before replay on a marked directory. The matching backup client checks whether the source requires TDE-aware WAL handling. Using an older plain client can bypass this check. The paired pg_tde_waldump also identifies Spock’s subtransaction commit-time record in encrypted WAL. These interfaces affect extension builds even if every application table uses ordinary heap storage.
To choose which objects to encrypt and which backup tool to use, follow the PG TDE manual.
Index DDL on encrypted tables
In r4, ext-pg-tde-002-index-encryption.patch changes the DDL event handler in the pg_tde extension. A B-tree index reports btree in pg_am. The extension checks the index file’s encryption state during ALTER INDEX, including the internal operation that records the original name of a TDS index.
Acceptance covered enforcement both on and off. Encrypted indexes stayed encrypted after a fillfactor change, a tablespace move and REINDEX. Enforcement continued to reject parameter changes to a plaintext index. Existing indexes retain their own storage state. Check indexes moved with an older build individually by OID. Verify indexes and TOAST · Candidate build manifest
WAL and online backup
Kernel layer 100 and pg_tde extension patch 009 carry the WAL key-switch fix. Layer 101 exposes the backup page-verification callback. Extension patch 010 decrypts a copy of the page for checksum verification and fixes temporary-key cleanup. Recovery still depends on the historical keys and their mappings. Restore and verify a backup
4.3 - 200 / 201 · pgEdge
Upstream replication support
200 imports PG19 patches 015, 025, 030, 035 and 090 from Spock 5.0.15. The apply worker can use a column’s previous value to merge concurrent increments. When a conflicting local row wins but its numeric value must still change, the worker can write a new row version and preserve the original timestamp and origin. Upstream patch 030 added a separate CommitTs/SUBTRANS_TS WAL record (0x20) for this history. Spock PG19 patches
Recovery support
201 records the cluster requirement when CREATE EXTENSION spock succeeds. In r4, 201 writes the surviving subtransaction timestamp and origin overrides in the same WAL record as the transaction’s COMMIT. The matching kernel replays them even on a recovery instance without logical workers. Archives containing the earlier 0x20 record require their original recovery environment. Preloading the extension on the writable nodes enables replication. Before activating it, upgrade every physical standby and PITR environment that may have to replay a new record. Use pg_waldump for plaintext WAL or the paired pg_tde_waldump and keys for encrypted WAL.
For node setup, conflict handling and rollback decisions, see the pgEdge manual.
4.4 - 300 / 301 · MySQL
300 imports the server-side changes selected from OpenHalo v19.0.0. Its protocol hooks let a preloaded module register a listener and drive the client handshake and command loop in a PostgreSQL backend. pg_mysql supplies the MySQL protocol and dialect. The native listener continues to speak PostgreSQL. OpenHalo
301 adapts protocol registration, type coercion, collation and foreign-key handling, and the server defaults. It checks for the registered MySQL callbacks on a cluster that depends on them. Use the matching pg_mysql build when starting or restoring that cluster. An application migration should exercise its actual driver and column types. Deploy a separate instance if TDS access is also required.
For application access and compatibility, see the MySQL manual.
4.5 - 400 / 401 · MSSQL (Babelfish)
400 imports native Babelfish changes selected against its PG19 beta base. They give the Babelfish extensions access to parser, executor, catalog, session and error-reporting paths needed for T-SQL. babelfishpg_tds handles the wire connection. babelfishpg_tsql, babelfishpg_common and babelfishpg_money provide the language and supporting types. Babelfish for PostgreSQL
401 completes the port to the 19.0 release. It reconciles listener and parser changes with OpenHalo, adds startup checks for dependent clusters and connects the Babelfish dump helpers to the Meson build. Use the complete pair to build the dump utilities. When migrating a database, verify SQL Server object naming, temporary tables and dump/restore on the chosen build. The cross-protocol row test covered a table defined on both nodes.
For connecting a TDS client and assessing T-SQL compatibility, see the MSSQL manual.
The current 401 also scopes a temporary union inside pg_bswap128() so that pgrx can generate Rust bindings from the installed PG19 headers. Regenerate bindings against the target Mimus SDK.
Babelfish and pg_tde in r4
The r4 kernel ends at layer 401, which now includes the temporary-relation reference fix originally tested as layer 402. The paired extensions supply the T-SQL checks and storage behavior below. The example SQL can be used from a TDS deployment connection. r4 kernel and extension trees
| Change | Delivered in | What users see |
|---|---|---|
| 1 · Table encryption option | Babelfish extension 001 | CREATE TABLE … WITH (ENCRYPTION=ON/OFF) fails before creating a table, preventing accidental delivery of a plaintext table as encrypted. |
| 2 · Index DDL on encrypted tables | pg_tde extension 002 | TDS can add an index with enforcement on. An encrypted index stays encrypted after PG changes its parameters, moves its tablespace or rebuilds it. Index patch |
| 3 · Per-table selection | SQL example in the image | A dedicated TDS transaction creates the table and verifies its storage, two indexes, TOAST table and TOAST index before committing. Deploy and verify |
| 4 · Temporary relation cleanup | Babelfish extension 004 and kernel 401 | Statements and cursors release their own references. A cursor can finish reading a temporary relation after a procedure returns, with cleanup governed by the transaction outcome. |
The earlier component build (a3b80a5a99a1) exercised these four changes, including reads and updates of seven existing permanent tables after restart. r4 also fixes temporary-key cleanup in pg_tde 010 and passed all 45 preload and installation orders involving TDS. T-SQL temporary objects using ordinary heap and query spill files can contain plaintext. Temporary storage · r4 coverage
Babelfish patches 010–013 cover UTF-16 byte length for nvarchar and selected CONVERT styles for floats, binary values and dates. Patch 014 installs the synonym and stop-word files used by full-text search. Application compatibility