pglite-fusion

PostgreSQL extension that embeds a SQLite database in a table column

Adds a SQLITE column type through a Rust pgrx extension, so each row carries its own database, created from a column default and changed with execute_sqlite. Rows are read back with query_sqlite inside ordinary PostgreSQL queries.

Trade-offs

  • A whole SQLite database stored as one PostgreSQL value, so a row holds an isolated database. Each call loads the value into in-memory SQLite, and each write serializes all of it back.

Q&A3

Docker images cover PostgreSQL 14 to 18, each with the extension already installed.

Reviews

Loading reviews

    More in Postgres

    See all 25 →
    • SupermetryCookie-free web and product analytics on one Go binary and PostgreSQL
    • arbiterPostgreSQL job queue for Haskell, with no broker and no leader
    • StreambedPostgres-to-Iceberg CDC engine with a built-in Postgres wire query server
    • MigrationPilotPostgreSQL migration linter that blocks unsafe DDL before merge
    • go-ledgerMulti-tenant double-entry payment ledger API in Go, built in public
    • pistachioDeclarative PostgreSQL schema management with a plan and apply workflow

    More in SQLite

    See all 22 →
    • MnemosyneLocal-first agent memory in one SQLite file, with evidence on every record
    • FusionalySelf-hosted web analytics in one SQLite file
    • SNKVEmbedded key-value store built directly on SQLite's B-tree
    • musqlSQLite-compatible SQL engine on columnar storage and a JIT
    • ForemergeCoordination protocol that catches intent conflicts between coding agents
    • roam-codeLocal code index and checks that coding agents can query

    More in Rust

    See all 146 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • jc-rsjc rewritten as one static binary that turns command output into JSON