Skip to content
pg_lake

pg_lake

pg_lake : Data lake extension by Snowflake

Overview

ID Extension Package Version Category License Language
2560
pg_lake
pg_lake
3.4
OLAP
Apache-2.0
C
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
--sLd--
Yes
Yes
Yes
Yes
no
no
Relationships
Schemas lake pg_catalog
Requires
pg_lake_copy
pg_lake_table
See Also
duckdb_fdw
pg_duckdb
pg_ducklake
pg_mooncake
pg_parquet
Siblings
pg_extension_base
pg_extension_updater
pg_map
pg_lake_engine
pg_lake_iceberg
pg_lake_table
pg_lake_copy

Pigsty packages this release for PG16-18. Configure shared_preload_libraries=pg_extension_base and run the matching PG-major pgduck_server process. RPM supports EL9/EL10 only; EL8 is rejected because OpenSSL 3 is required. DEB supports Debian 12/13 and Ubuntu 22.04/24.04/26.04 on amd64/arm64. DuckDB and Avro are private per PG major. Co-installation with pg_duckdb, pg_mooncake, and duckdb_fdw is file-safe, but overlapping hooks and COPY behavior can be preload-order-sensitive.

Extension SQL/control version is 3.4; source and DEB/RPM package version is 3.4.0.

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT
PIGSTY
3.4
18
17
16
15
14
pg_lake pg_lake_copy, pg_lake_table
RPM
PIGSTY
3.4.0
18
17
16
15
14
pg_lake_$v -
DEB
PIGSTY
3.4.0
18
17
16
15
14
postgresql-$v-pg-lake -
Linux / PG PG18 PG17 PG16 PG15 PG14
el8.x86_64
MISS
MISS
MISS
MISS
MISS
el8.aarch64
MISS
MISS
MISS
MISS
MISS
el9.x86_64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
el9.aarch64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
el10.x86_64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
el10.aarch64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
d12.x86_64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
d12.aarch64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
d13.x86_64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
d13.aarch64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
u22.x86_64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
u22.aarch64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
u24.x86_64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
u24.aarch64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
u26.x86_64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
u26.aarch64
PIGSTY 3.4.0
PIGSTY 3.4.0
PIGSTY 3.4.0
MISS
MISS
Package Version OS ORG SIZE File URL
pg_lake_18 3.4.0 el9.x86_64 pigsty 19.8 MiB pg_lake_18-3.4.0-2PIGSTY.el9.x86_64.rpm
pg_lake_18 3.4.0 el9.aarch64 pigsty 18.2 MiB pg_lake_18-3.4.0-2PIGSTY.el9.aarch64.rpm
pg_lake_18 3.4.0 el10.x86_64 pigsty 19.2 MiB pg_lake_18-3.4.0-2PIGSTY.el10.x86_64.rpm
pg_lake_18 3.4.0 el10.aarch64 pigsty 17.4 MiB pg_lake_18-3.4.0-2PIGSTY.el10.aarch64.rpm
postgresql-18-pg-lake 3.4.0 d12.x86_64 pigsty 19.0 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~bookworm_amd64.deb
postgresql-18-pg-lake 3.4.0 d12.aarch64 pigsty 16.8 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~bookworm_arm64.deb
postgresql-18-pg-lake 3.4.0 d13.x86_64 pigsty 20.0 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~trixie_amd64.deb
postgresql-18-pg-lake 3.4.0 d13.aarch64 pigsty 17.6 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~trixie_arm64.deb
postgresql-18-pg-lake 3.4.0 u22.x86_64 pigsty 19.4 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~jammy_amd64.deb
postgresql-18-pg-lake 3.4.0 u22.aarch64 pigsty 18.1 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~jammy_arm64.deb
postgresql-18-pg-lake 3.4.0 u24.x86_64 pigsty 19.5 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~noble_amd64.deb
postgresql-18-pg-lake 3.4.0 u24.aarch64 pigsty 18.2 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~noble_arm64.deb
postgresql-18-pg-lake 3.4.0 u26.x86_64 pigsty 20.0 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~resolute_amd64.deb
postgresql-18-pg-lake 3.4.0 u26.aarch64 pigsty 18.9 MiB postgresql-18-pg-lake_3.4.0-2PIGSTY~resolute_arm64.deb

Source

pig build pkg pg_lake;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pg_lake;		# install via package name, for the active PG version

pig install pg_lake -v 18;   # install for PG 18
pig install pg_lake -v 17;   # install for PG 17
pig install pg_lake -v 16;   # install for PG 16

Config this extension to shared_preload_libraries:

shared_preload_libraries = 'pg_extension_base';

Create this extension with:

CREATE EXTENSION pg_lake CASCADE; -- requires pg_lake_copy, pg_lake_table

Usage

Sources:

pg_lake — Data lake extension by Snowflake

The reviewed catalog snapshot records version 3.4, kind preload, and implementation language C. Install and validate the declared extension dependencies first: pg_lake_copy, pg_lake_table. The curated compatibility set is 16,17,18; confirm the exact build against the target server.

CREATE EXTENSION "pg_lake";
SELECT extversion
FROM pg_extension
WHERE extname = 'pg_lake';

The upstream project is associated with Snowflake; verify its current support, license, packaging, and deployment boundary from the linked source.

The curated lifecycle is active. Pin the reviewed build and verify maintenance status before adoption.

Before production use, review the linked control/SQL or provider documentation, verify privileges and compatibility, and test the actual API and failure behavior on the target PostgreSQL build.

Last updated on