Product

In-database compute

Bring the code to the data — JavaScript today, distributed & GPU next.

WHAT'S INSIDE

  • PL/pgSQL — cursors, triggers, exceptions, SECURITY DEFINER
  • PLV8 JavaScript (QuickJS) — plv8.execute / prepare / subtransaction
  • Per-function memory & timeout limits; trigger + SETOF support
  • WASM UDFs (wasmtime, LANGUAGE plwasm)*
  • Distributed UDF execution — fan-out by volatility / parallel-safety*
  • GPU-accelerated aggregation kernels*

*In development — not yet production-ready.

javascript udf
CREATE EXTENSION IF NOT EXISTS plv8;
CREATE FUNCTION add(a INT, b INT) RETURNS INT AS $$ return a + b; $$ LANGUAGE plv8;