This is the multi-page printable view of this section.
Introduction
- 1: Connections and extensions
- 2: Connect with PostgreSQL
- 3: Version and verification
- 4: Extension and application compatibility
Mimus combines four sets of changes on PostgreSQL 19.0. An application using libpq, a PostgreSQL driver or psql connects to the native PostgreSQL server. You can use this entry point on its own, including to administer the extensions.
| You need to… | Start here |
|---|---|
| Run PostgreSQL SQL, manage roles or configure client authentication | PostgreSQL 19 manual |
| Protect selected relations and recover them with their keys | PG TDE |
| Accept writes in the same database on two nodes | pgEdge Spock |
| Connect an application with a MySQL driver | MySQL |
| Connect a SQL Server client using TDS and T-SQL | SQL Server |
For a deployment decision, check the tested configurations and outstanding release work. For a source build, identify the base and matching extensions.
Choose one compatibility listener per instance. PostgreSQL remains available alongside either MySQL or TDS. Deployment boundaries
1 - Connections and extensions
From connection to table
Every Mimus instance accepts native PostgreSQL connections. For a MySQL application add pg_mysql; for a SQL Server application add babelfishpg_tds and the Babelfish language and type extensions. The compatibility listener has its own port and object naming rules. Use native PostgreSQL to inspect the physical tables and roles behind either interface.
Choose at most one compatibility protocol per instance. All databases in a data directory share server processes and preload settings. An application that needs both MySQL and TDS needs two instances. The deployment rule is a product support boundary; the server does not enforce it at startup.
On the Debian 13 amd64 r4 candidate, the single-node DocumentDB engine and separate MongoDB gateway passed two logical restore tests. With pg_restore -N cron, the target installer recreated its default jobs. To retain the archived jobs and their history, the test paused scheduling on a fresh target, installed DocumentDB and unscheduled its four newly created jobs in one transaction, then restored the complete archive and resumed scheduling. A restored job ran again. In both tests PyMongo read all 63 documents by the original collection name. Older archives missing the collection catalog still need the original database or a matching physical backup.
Storage and replication
pg_tde encrypts relation data locally. Spock replicates logical changes. To protect both copies of a replicated table, provision a key provider and create the encrypted table and indexes on each node. A two-node research test verified the encrypted rows after writes from PyMySQL and FreeTDS. For deployment, select the protocol for each instance and rehearse failover with the keys and software it needs. Kernel patch groups
2 - Connect with PostgreSQL
Use the host, port, login role and database assigned to your instance. On the database host, the instance owner can also use the configured Unix socket. With the endpoint in the usual libpq environment variables (PGHOST, PGPORT, PGUSER and PGDATABASE), run:
Run this with the psql from your Mimus installation when identifying a build. Role access follows PostgreSQL authentication and privileges. Creating the encryption and replication extensions takes administrative privileges. MySQL and TDS clients negotiate authentication through their own listeners. A successful native login proves only the native connection. PostgreSQL client authentication
3 - Version and verification
What was verified
The 19.0.1-r4 candidate passed product acceptance on Debian 13 amd64. Its OCI image index is sha256:db9e09fa1c9294f406a53964a6b57c2543f5277743b54b15f509a5448447deae. Frozen source identities
| 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. |
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 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.
Choosing this revision
As of 5 December 2026 the Debian 13 amd64 candidate can proceed to signing. The source branches are pending upload, and the official Git tag and image publication are pending. Plan a trial with your own drivers, schema and backup chain before adopting any feature. 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 (RISK-36). Backup and recovery · Spock failover boundaries
4 - Extension and application compatibility
Choosing extension binaries
Build native extensions using the pg_config and headers from the target Mimus installation. A shared PostgreSQL major version tells you the SQL baseline. It does not establish binary compatibility with every third-party module. The full kernel includes Babelfish parser and executor changes as well as the storage and replication interfaces. For Citus or TimescaleDB workloads, choose a separately supported PostgreSQL installation.
Validating a workload
Exercise the driver’s connection startup and parameter binding, representative DDL, reads and writes, and a restore into a second instance. Through the selected compatibility protocol and native PostgreSQL check null handling, type and collation mapping, generated keys and error handling. The four-component test used a shared table with integer columns. It provides a baseline for a driver trial. Tested scope
Storage and third-party extensions
The kernel excludes OrioleDB. Citus and TimescaleDB are unsupported even on clusters with TDE disabled. For table reorganization use PostgreSQL 19’s native REPACK. An external pg_repack 1.5.3 run rewrote encrypted storage as ordinary heap while queries still returned the original rows. Check encryption on the table, indexes and TOAST storage after a rewrite. PG TDE