Skip to content

quack

DuckDB Embedded in Postgres

quack · DuckDB Embedded in Postgres

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101135quackquack0.0.1OLAPApache-2.0C

PostgreSQL · 14, 15

Usage

Sources:

quack version 0.0.1 is a proof-of-concept table access method that embeds DuckDB in PostgreSQL. Ensure the directory selected by quack.data_dir exists and is writable by the PostgreSQL operating-system account, then create and query a table using the access method:

CREATE EXTENSION quack;

CREATE TABLE quack_events (
  id bigint,
  payload text
) USING quack;

INSERT INTO quack_events VALUES (1, 'first event');
SELECT * FROM quack_events;

Proof-of-concept limits

The published branch supports only PostgreSQL 14 and 15, basic data types, and COPY, INSERT, and SELECT. Only one connection can execute INSERT or SELECT against a quack table at a time, and queries cannot combine quack tables with heap or other storage methods. The unarchived main branch only announces a future version and directs users back to this proof of concept. Use it for controlled evaluation, not as a general production table engine.

Table reader