Skip to content

pg_prism 0.1.10

Choose a tag to compare

@yjhatfdu yjhatfdu released this 01 Dec 05:35
· 3 commits to main since this release

English

  • Push supported fact-table aggregates to DuckDB before joining unmirrored
    lookup tables or evaluating scalar lookups in PostgreSQL.
  • For reports grouped by a lookup name, aggregate by join key in DuckDB and
    combine matching names in PostgreSQL. The rewrite preserves exact
    averages, aggregate filters, HAVING, and left-join NULL groups.
  • Extend pushdown for reporting SQL, including supported percentile
    aggregates, calendar grouping, case-insensitive matching, and rounded
    averages in HAVING.

Choose the archive and SHA-256 file for PostgreSQL 18.7 or 19.0 on macOS arm64, Linux amd64, or Linux arm64. Each package includes DuckDB 2.0.1, Quack, and httpfs. PostgreSQL 18 requires wal_level = logical.

To upgrade from 0.1.9, stop PostgreSQL, install the matching package, and restart. The package replaces both PostgreSQL modules together. The SQL extension version remains 0.1.8.

Installation and checksums · Query routing

简体中文

  • 支持先在 DuckDB 汇总事实表,再由 PostgreSQL 关联未镜像的字典表或执行标量查找。
  • 按字典名称分组时,DuckDB 先按关联键聚合,PostgreSQL 再合并同名分组,
    保留精确平均值、聚合过滤、HAVING 和左连接的 NULL 分组语义。
  • 扩展报表 SQL 的下推范围,覆盖支持的百分位聚合、日历分组、不区分大小写的匹配,
    以及 HAVING 中的平均值舍入。

请选择匹配 PostgreSQL 18.7 或 19.0、macOS arm64、Linux amd64 或 Linux arm64 的归档和 SHA-256 校验文件。安装包包含 DuckDB 2.0.1、Quack 和 httpfs。PostgreSQL 18 需要配置 wal_level = logical。

从 0.1.9 升级时,先停止 PostgreSQL,再安装对应的包并重启。安装包会同时替换两个 PostgreSQL 模块。SQL 扩展版本仍为 0.1.8。

安装与校验 · 查询路由