Skip to content

pgiceberg

Apache Iceberg FDW, table access method and logical-decoding mirrors.

pgiceberg · Apache Iceberg FDW, table access method and logical-decoding mirrors.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102080pgicebergpgiceberg0.1.0OLAPApache-2.0C++

Usage

Sources:

pgiceberg offers three separate Iceberg interfaces: foreign tables, native Iceberg-backed tables and logical-decoding mirrors. It uses Apache Iceberg C++ for catalog and Parquet operations; the extension version is 0.1.0, not the bundled library version.

Core Workflow

CREATE EXTENSION pgiceberg;
SELECT pgiceberg.add_catalog('demo', 'sqlite',
  '/tmp/pgiceberg_demo.db', '/tmp/pgiceberg_demo_warehouse');
CREATE SERVER iceberg_demo FOREIGN DATA WRAPPER pgiceberg OPTIONS (catalog 'demo');
SELECT * FROM pgiceberg.commit_recovery_log();

Operational Boundaries

Superuser installation and a matching C++ runtime are required. Catalog paths and credentials grant server-side access to external storage. IMPORT FOREIGN SCHEMA, schema-diff/refresh helpers, snapshot reads and unpartitioned UPDATE/DELETE are available. Historical snapshots reject writes; logical mirrors require their own logical-decoding setup. Iceberg publishes occur before the PostgreSQL commit and are not a two-phase transaction: crashes or multi-table failures may leave partial external commits. Inspect recovery logs and follow the documented reconciliation procedure. PostgreSQL isolation levels do not isolate other Iceberg writers.

Table reader