Run with Docker
Docker images are available on Dockerhub and are based on the official Postgres image. Use of this image is the same as the Postgres image. For example, you can run the image directly:Compile from Source
To build pg_duckdb, you need:- Postgres 15-17
- Ubuntu 22.04-24.04 or MacOS
- Standard set of build tools for building Postgres extensions
- Build tools that are required to build DuckDB
pg_duckdb
to the shared_preload_libraries
in your postgresql.conf
file:
pg_duckdb
extension: