Skip to content

v0.4.2-rc2 - pg_kalam - PostgreSQL Extension for KalamDB

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Apr 20:57
· 83 commits to main since this release
591df3e

This release adds first-class PostgreSQL extension support to KalamDB through the new pg_kalam extension. PostgreSQL can now connect to a running KalamDB server over gRPC, query and modify KalamDB data through SQL, and create Kalam-backed tables directly from PostgreSQL.

  • New pg_kalam extension and FDW support, with CREATE EXTENSION pg_kalam; and PostgreSQL 13 through 18 support via pgrx 0.17.
  • New PostgreSQL-side SQL bridge functions, including kalam_exec(...), kalam_version(), kalam_compiled_mode(), session user helpers, and snowflake_id() for generated IDs.
  • New CREATE TABLE ... USING kalamdb path, so PostgreSQL can create and mirror KalamDB tables directly instead of relying only on manual FDW setup.
  • DDL propagation between PostgreSQL and KalamDB now covers create, alter, and drop flows, including add/drop column changes and mirrored defaults, NOT NULL, and primary key metadata.
  • Improved transaction handling for PostgreSQL clients, with stronger batch validation, better cleanup after remote errors, and more reliable commit/rollback behavior.
  • New PostgreSQL session visibility in system.sessions, plus stale session pruning and idle trimming to keep long-lived PG-connected deployments healthier.
  • Better handling of internal/system column behavior for mirrored tables, including automatic column injection where required and SERIAL/IDENTITY normalization through SNOWFLAKE_ID().
  • Expanded build and packaging support with multi-version PostgreSQL Docker builds, updated release workflow, and pgvector preinstalled in the PostgreSQL images.
  • Broader end-to-end and performance coverage for DDL, transactions, proxy/disconnect failures, sync stress, and PG extension test bootstrapping.

Notes

  • IMPORT FOREIGN SCHEMA is still not supported in remote mode.
  • The extension requires a running KalamDB server and a configured kalam_server foreign server.

What's Changed

Full Changelog: v0.4.1-beta...v0.4.2-rc2

What's Changed

Full Changelog: v0.4.1-beta...v0.4.2-rc2