Skip to content

pg_yaap v0.0.4

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 13:26
· 13 commits to main since this release
73fda70

Prebuilt Packages (Ubuntu 24.04 LTS / PostgreSQL 18)

Supported architectures: x86_64 (amd64, -march=x86-64-v2) and aarch64 (arm64, -march=armv8-a).
Built against official PGDG postgresql-18 on Ubuntu 24.04 (Noble).

Install via .deb (Recommended)

# Ensure PGDG postgresql-18 repository is configured, then:
sudo apt-get update
ARCH=$(dpkg --print-architecture)
# Install core engine + optional LLVM deform JIT provider:
sudo apt-get install -y \
  ./postgresql-18-pg-yaap_0.0.4_ubuntu24.04_${ARCH}.deb \
  ./postgresql-18-pg-yaap-jit_0.0.4_ubuntu24.04_${ARCH}.deb

# Or install the LLVM-free core package only (runs via Generic deformer):
# sudo apt-get install -y ./postgresql-18-pg-yaap_0.0.4_ubuntu24.04_${ARCH}.deb

Install via .tar.gz

tar -xzf pg_yaap-0.0.4-pg18-ubuntu24.04-$(dpkg --print-architecture).tar.gz
cd pg_yaap-0.0.4-pg18-ubuntu24.04-$(dpkg --print-architecture)
./install.sh --pg-config /usr/lib/postgresql/18/bin/pg_config

Verify in PostgreSQL

LOAD 'pg_yaap';
SHOW pg_yaap.enabled;
SHOW yaap.jit;
SELECT yaap_jit_available();

To enable automatically for all sessions, add shared_preload_libraries = 'pg_yaap' to postgresql.conf and restart PostgreSQL.

Docker Image (GHCR, Ubuntu 24.04 + PG 18 + DuckDB TPC-H)

Multi-arch (x86_64 and aarch64) container image published alongside this release:

docker pull ghcr.io/yuuch/pg_yaap:0.0.4
docker run --rm --shm-size=2g ghcr.io/yuuch/pg_yaap:0.0.4 tpch --sf 1 --compare-pg

What's Changed

  • feat(jit): decouple optional yaap_llvmjit provider and split Ubuntu 2… by @yuuch in #28

Full Changelog: v0.0.3...v0.0.4