PIGSTY

first_last_agg

first() 与 last() 聚合函数

概述

4710first_last_aggfirst_last_agg0.1.4
FUNC
PostgreSQL
C

属性

-

软件包

EL
PIGSTY
first_last_agg_$v0.1.4-
17
16
15
14
13
Debian
PGDG
postgresql-$v-first-last-agg0.1.4-
17
16
15
14
13

可用性

PG17PG16PG15PG14PG13
el8.x86_64
0.1.4
0.1.4
0.1.4
0.1.4
0.1.4
el8.aarch64
0.1.4
0.1.4
0.1.4
0.1.4
0.1.4
el9.x86_64
0.1.4
0.1.4
0.1.4
0.1.4
0.1.4
el9.aarch64
0.1.4
0.1.4
0.1.4
0.1.4
0.1.4
d12.x86_64
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
d12.aarch64
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
u22.x86_64
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
u22.aarch64
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
u24.x86_64
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
u24.aarch64
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
0.1.4-4-gd63ea3b
CONTRIB
PGDG
PIGSTY

下载

要添加所需的 PGDG / PIGSTY 上游仓库,请使用:
pig repo add pgdg -u    # 添加 PGDG 仓库并更新缓存(保留现有仓库)
pig repo add pigsty -u  # 添加 PIGSTY 仓库并更新缓存(保留现有仓库)
pig repo add pgsql -u   # 添加 PGDG + Pigsty 仓库并更新缓存(保留现有仓库)
pig repo set all -u     # 设置仓库为 all = NODE + PGSQL + INFRA (移除现有仓库)
./node.yml -t node_repo -e node_repo_modules=node,pgsql # -l <集群>
或直接下载最新包:

安装

使用以下命令安装此扩展:
pig ext install first_last_agg; # 按扩展名安装,适用于当前活动的 PG 版本
pig ext install first_last_agg -v 17;   # 为 PG 17 安装
pig ext install first_last_agg -v 16;   # 为 PG 16 安装
pig ext install first_last_agg -v 15;   # 为 PG 15 安装
pig ext install first_last_agg -v 14;   # 为 PG 14 安装
pig ext install first_last_agg -v 13;   # 为 PG 13 安装
dnf install first_last_agg_17;
dnf install first_last_agg_16;
dnf install first_last_agg_15;
dnf install first_last_agg_14;
dnf install first_last_agg_13;
apt install postgresql-17-first-last-agg;
apt install postgresql-16-first-last-agg;
apt install postgresql-15-first-last-agg;
apt install postgresql-14-first-last-agg;
apt install postgresql-13-first-last-agg;
./pgsql.yml -t pg_ext -e '{"pg_extensions": ["first_last_agg"]}' # -l <集群>
使用以下命令创建此扩展:
CREATE EXTENSION first_last_agg;