Skip to content

Build extensions, run REPACK and validate workloads

Compile C and Rust pgrx extensions against Mimus pg_config, reorganize tables safely with native PostgreSQL 19 REPACK, and test application SQL.

Choosing extension binaries

Build native C and Rust (pgrx 0.20.1) extensions using the pg_config binary and server headers from the target /usr/mimus-19 installation:

export PATH="/usr/mimus-19/bin:$PATH"
make PG_CONFIG=/usr/mimus-19/bin/pg_config
sudo make PG_CONFIG=/usr/mimus-19/bin/pg_config install

A shared PostgreSQL 19 major version establishes the SQL baseline, not universal drop-in ABI compatibility with prebuilt third-party binaries, because the unified Mimus kernel includes Babelfish parser/executor hooks alongside storage and replication interfaces. pgrx 0.20.1 header compatibility is verified against Mimus 19.0.1-r4 (790 PG 19 tests passed). For workloads requiring Citus or TimescaleDB, deploy a separate community PostgreSQL cluster.

Validating a workload

Before migrating an application, run an end-to-end check against your chosen listener and storage configuration:

  1. Exercise driver connection startup, TLS negotiation, authentication, and parameter binding.
  2. Run representative schema DDL, concurrent reads/writes, generated keys, null handling, and collation comparisons from both the compatibility protocol (MySQL, MSSQL, or MongoDB) and native psql.
  3. Take a backup, restore it into a second isolated instance, and re-run application smoke checks against the restored data. See 19.0.1-r4 Verification for tested combinations.

Storage and third-party extensions

Mimus excludes OrioleDB, Citus, and TimescaleDB (including when pg_tde is disabled).

For online or offline table reorganization on PostgreSQL 19, always use PostgreSQL 19’s built-in REPACK command rather than the external pg_repack extension. In verification testing, external pg_repack 1.5.3 rewrote tde_heap tables back into unencrypted ordinary heap storage while queries continued returning rows without warning. After any table rewrite, verify encryption on the relation, indexes, and TOAST table with pg_tde_is_encrypted(); see PG TDE table coverage.

Scan to open this page
https://mimus.pgsty.com/docs/guides/extensions/