Installing extensions
To install an extension, connect to your database and run:Available extensions
pg_clickhouse extension
Thepg_clickhouse extension is pre-installed on every Managed Postgres instance. It allows you to query ClickHouse databases directly from PostgreSQL, enabling a unified query layer for both transactions and analytics.
See the pg_clickhouse documentation for setup instructions and usage details.
pg_stat_ch extension
Thepg_stat_ch extension powers query-level observability for your Managed Postgres instance. It captures per-query telemetry (timings, rows, buffers, WAL, errors) and ships it into the ClickHouse Cloud UI, where it surfaces as the slow-query, error, and workload views. No setup required.
pg_re2 extension
Thepg_re2 extension adds ClickHouse-compatible regex functions to Managed Postgres, backed by Google’s RE2 engine. Useful when porting queries between the two or running hybrid workloads that need identical pattern-matching semantics on both sides.