Skip to content

pg_fhe

Microsoft SEAL-backed CKKS operations over encrypted values stored in PostgreSQL.

pg_fhe · Microsoft SEAL-backed CKKS operations over encrypted values stored in PostgreSQL.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101909pg_fhepg_fhe0.1SECC++

Usage

Sources:

pg_fhe Microsoft SEAL-backed CKKS operations over encrypted values stored in PostgreSQL.

Enablement

Install the files for the intended server, then create pg_fhe in the target database:

CREATE EXTENSION pg_fhe;

Core Workflow

The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.

CREATE TABLE test_ckks_mult as
    SELECT id, ckks_mult(data, 2.0) as data FROM test;

Main Objects

The reviewed install surface includes these prominent objects:

ObjectKindOperational role
ckks_multFUNCTIONCallable function from the reviewed install surface.

Operations and Boundaries

  • Catalog lifecycle is abandoned; test upgrades, dump/restore, and server compatibility before production use.

Table reader