plprql
在PostgreSQL使用PRQL——管线式关系查询语言
仓库
kaspermarstal/plprql
https://github.com/kaspermarstal/plprql
源码
plprql-18.0.2.tar.gz
plprql-18.0.2.tar.gz
概览
| 扩展包名 | 版本 | 分类 | 许可证 | 语言 |
|---|---|---|---|---|
plprql | 18.0.2 | LANG | Apache-2.0 | Rust |
| ID | 扩展名 | Bin | Lib | Load | Create | Trust | Reloc | 模式 |
|---|---|---|---|---|---|---|---|---|
| 3040 | plprql | 否 | 是 | 否 | 是 | 否 | 否 | - |
| 相关扩展 | pg_duckdb pg_lake tablefunc pg_parquet pg_ducklake duckdb_fdw extra_window_functions first_last_agg pg_mooncake |
|---|
版本
| 类型 | 仓库 | 版本 | PG 大版本 | 包名 | 依赖 |
|---|---|---|---|---|---|
| EXT | PIGSTY | 18.0.2 | 1817161514 | plprql | - |
| RPM | PIGSTY | 18.0.2 | 1817161514 | plprql_$v | - |
| DEB | PIGSTY | 18.0.2 | 1817161514 | postgresql-$v-plprql | - |
| OS / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 18.0.2 el8.x86_64.pg18 : plprql_18 plprql_18-18.0.2-1PGSTY.el8.x86_64.rpm
| PIGSTY 18.0.2 el8.x86_64.pg17 : plprql_17 plprql_17-18.0.2-1PGSTY.el8.x86_64.rpm
| PIGSTY 18.0.2 el8.x86_64.pg16 : plprql_16 plprql_16-18.0.2-1PGSTY.el8.x86_64.rpm
| PIGSTY 18.0.2 el8.x86_64.pg15 : plprql_15 plprql_15-18.0.2-1PGSTY.el8.x86_64.rpm
| PIGSTY 18.0.2 el8.x86_64.pg14 : plprql_14 plprql_14-18.0.2-1PGSTY.el8.x86_64.rpm
|
| el8.aarch64 | PIGSTY 18.0.2 el8.aarch64.pg18 : plprql_18 plprql_18-18.0.2-1PGSTY.el8.aarch64.rpm
| PIGSTY 18.0.2 el8.aarch64.pg17 : plprql_17 plprql_17-18.0.2-1PGSTY.el8.aarch64.rpm
| PIGSTY 18.0.2 el8.aarch64.pg16 : plprql_16 plprql_16-18.0.2-1PGSTY.el8.aarch64.rpm
| PIGSTY 18.0.2 el8.aarch64.pg15 : plprql_15 plprql_15-18.0.2-1PGSTY.el8.aarch64.rpm
| PIGSTY 18.0.2 el8.aarch64.pg14 : plprql_14 plprql_14-18.0.2-1PGSTY.el8.aarch64.rpm
|
| el9.x86_64 | PIGSTY 18.0.2 el9.x86_64.pg18 : plprql_18 plprql_18-18.0.2-1PGSTY.el9.x86_64.rpm
| PIGSTY 18.0.2 el9.x86_64.pg17 : plprql_17 plprql_17-18.0.2-1PGSTY.el9.x86_64.rpm
| PIGSTY 18.0.2 el9.x86_64.pg16 : plprql_16 plprql_16-18.0.2-1PGSTY.el9.x86_64.rpm
| PIGSTY 18.0.2 el9.x86_64.pg15 : plprql_15 plprql_15-18.0.2-1PGSTY.el9.x86_64.rpm
| PIGSTY 18.0.2 el9.x86_64.pg14 : plprql_14 plprql_14-18.0.2-1PGSTY.el9.x86_64.rpm
|
| el9.aarch64 | PIGSTY 18.0.2 el9.aarch64.pg18 : plprql_18 plprql_18-18.0.2-1PGSTY.el9.aarch64.rpm
| PIGSTY 18.0.2 el9.aarch64.pg17 : plprql_17 plprql_17-18.0.2-1PGSTY.el9.aarch64.rpm
| PIGSTY 18.0.2 el9.aarch64.pg16 : plprql_16 plprql_16-18.0.2-1PGSTY.el9.aarch64.rpm
| PIGSTY 18.0.2 el9.aarch64.pg15 : plprql_15 plprql_15-18.0.2-1PGSTY.el9.aarch64.rpm
| PIGSTY 18.0.2 el9.aarch64.pg14 : plprql_14 plprql_14-18.0.2-1PGSTY.el9.aarch64.rpm
|
| el10.x86_64 | PIGSTY 18.0.2 el10.x86_64.pg18 : plprql_18 plprql_18-18.0.2-1PGSTY.el10.x86_64.rpm
| PIGSTY 18.0.2 el10.x86_64.pg17 : plprql_17 plprql_17-18.0.2-1PGSTY.el10.x86_64.rpm
| PIGSTY 18.0.2 el10.x86_64.pg16 : plprql_16 plprql_16-18.0.2-1PGSTY.el10.x86_64.rpm
| PIGSTY 18.0.2 el10.x86_64.pg15 : plprql_15 plprql_15-18.0.2-1PGSTY.el10.x86_64.rpm
| PIGSTY 18.0.2 el10.x86_64.pg14 : plprql_14 plprql_14-18.0.2-1PGSTY.el10.x86_64.rpm
|
| el10.aarch64 | PIGSTY 18.0.2 el10.aarch64.pg18 : plprql_18 plprql_18-18.0.2-1PGSTY.el10.aarch64.rpm
| PIGSTY 18.0.2 el10.aarch64.pg17 : plprql_17 plprql_17-18.0.2-1PGSTY.el10.aarch64.rpm
| PIGSTY 18.0.2 el10.aarch64.pg16 : plprql_16 plprql_16-18.0.2-1PGSTY.el10.aarch64.rpm
| PIGSTY 18.0.2 el10.aarch64.pg15 : plprql_15 plprql_15-18.0.2-1PGSTY.el10.aarch64.rpm
| PIGSTY 18.0.2 el10.aarch64.pg14 : plprql_14 plprql_14-18.0.2-1PGSTY.el10.aarch64.rpm
|
| d12.x86_64 | PIGSTY 18.0.2 d12.x86_64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~bookworm_amd64.deb
| PIGSTY 18.0.2 d12.x86_64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~bookworm_amd64.deb
| PIGSTY 18.0.2 d12.x86_64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~bookworm_amd64.deb
| PIGSTY 18.0.2 d12.x86_64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~bookworm_amd64.deb
| PIGSTY 18.0.2 d12.x86_64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~bookworm_amd64.deb
|
| d12.aarch64 | PIGSTY 18.0.2 d12.aarch64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~bookworm_arm64.deb
| PIGSTY 18.0.2 d12.aarch64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~bookworm_arm64.deb
| PIGSTY 18.0.2 d12.aarch64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~bookworm_arm64.deb
| PIGSTY 18.0.2 d12.aarch64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~bookworm_arm64.deb
| PIGSTY 18.0.2 d12.aarch64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~bookworm_arm64.deb
|
| d13.x86_64 | PIGSTY 18.0.2 d13.x86_64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~trixie_amd64.deb
| PIGSTY 18.0.2 d13.x86_64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~trixie_amd64.deb
| PIGSTY 18.0.2 d13.x86_64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~trixie_amd64.deb
| PIGSTY 18.0.2 d13.x86_64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~trixie_amd64.deb
| PIGSTY 18.0.2 d13.x86_64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~trixie_amd64.deb
|
| d13.aarch64 | PIGSTY 18.0.2 d13.aarch64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~trixie_arm64.deb
| PIGSTY 18.0.2 d13.aarch64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~trixie_arm64.deb
| PIGSTY 18.0.2 d13.aarch64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~trixie_arm64.deb
| PIGSTY 18.0.2 d13.aarch64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~trixie_arm64.deb
| PIGSTY 18.0.2 d13.aarch64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~trixie_arm64.deb
|
| u22.x86_64 | PIGSTY 18.0.2 u22.x86_64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~jammy_amd64.deb
| PIGSTY 18.0.2 u22.x86_64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~jammy_amd64.deb
| PIGSTY 18.0.2 u22.x86_64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~jammy_amd64.deb
| PIGSTY 18.0.2 u22.x86_64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~jammy_amd64.deb
| PIGSTY 18.0.2 u22.x86_64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~jammy_amd64.deb
|
| u22.aarch64 | PIGSTY 18.0.2 u22.aarch64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~jammy_arm64.deb
| PIGSTY 18.0.2 u22.aarch64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~jammy_arm64.deb
| PIGSTY 18.0.2 u22.aarch64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~jammy_arm64.deb
| PIGSTY 18.0.2 u22.aarch64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~jammy_arm64.deb
| PIGSTY 18.0.2 u22.aarch64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~jammy_arm64.deb
|
| u24.x86_64 | PIGSTY 18.0.2 u24.x86_64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~noble_amd64.deb
| PIGSTY 18.0.2 u24.x86_64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~noble_amd64.deb
| PIGSTY 18.0.2 u24.x86_64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~noble_amd64.deb
| PIGSTY 18.0.2 u24.x86_64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~noble_amd64.deb
| PIGSTY 18.0.2 u24.x86_64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~noble_amd64.deb
|
| u24.aarch64 | PIGSTY 18.0.2 u24.aarch64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~noble_arm64.deb
| PIGSTY 18.0.2 u24.aarch64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~noble_arm64.deb
| PIGSTY 18.0.2 u24.aarch64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~noble_arm64.deb
| PIGSTY 18.0.2 u24.aarch64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~noble_arm64.deb
| PIGSTY 18.0.2 u24.aarch64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~noble_arm64.deb
|
| u26.x86_64 | PIGSTY 18.0.2 u26.x86_64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~resolute_amd64.deb
| PIGSTY 18.0.2 u26.x86_64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~resolute_amd64.deb
| PIGSTY 18.0.2 u26.x86_64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~resolute_amd64.deb
| PIGSTY 18.0.2 u26.x86_64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~resolute_amd64.deb
| PIGSTY 18.0.2 u26.x86_64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~resolute_amd64.deb
|
| u26.aarch64 | PIGSTY 18.0.2 u26.aarch64.pg18 : postgresql-18-plprql postgresql-18-plprql_18.0.2-1PGSTY~resolute_arm64.deb
| PIGSTY 18.0.2 u26.aarch64.pg17 : postgresql-17-plprql postgresql-17-plprql_18.0.2-1PGSTY~resolute_arm64.deb
| PIGSTY 18.0.2 u26.aarch64.pg16 : postgresql-16-plprql postgresql-16-plprql_18.0.2-1PGSTY~resolute_arm64.deb
| PIGSTY 18.0.2 u26.aarch64.pg15 : postgresql-15-plprql postgresql-15-plprql_18.0.2-1PGSTY~resolute_arm64.deb
| PIGSTY 18.0.2 u26.aarch64.pg14 : postgresql-14-plprql postgresql-14-plprql_18.0.2-1PGSTY~resolute_arm64.deb
|
构建
您可以使用 pig build 命令构建 plprql 扩展的 RPM / DEB 包:
安装
您可以直接安装 plprql 扩展包的预置二进制包,首先确保 PGDG 和 PIGSTY 仓库已经添加并启用:
使用 pig 或者是 apt/yum/dnf 安装扩展:
安装
pig
dnf
apt
创建扩展:
用法
plprql 允许使用 PRQL(管道式关系查询语言)编写 PostgreSQL 函数,这是一种编译为 SQL 的现代语言,采用管道语法。
使用 PRQL 创建函数
直接执行 PRQL
使用游标处理大结果集
查看编译后的 SQL
PRQL 语法概览
PRQL 使用管道式转换:
限制
PRQL 仅支持 SELECT 语句。对于 INSERT、UPDATE 和 DELETE,请使用 SQL 或 PL/pgSQL。
这个页面对您有帮助吗?
感谢反馈,我们会据此改进这篇文档。
哪里没有解决?(可选)