first_last_agg
first_last_agg
first() and last() aggregate functions
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 4710 | first_last_agg | first_last_agg | 0.1.4 | FUNC | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--s-d-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| See Also | aggs_for_arrays aggs_for_vecs topn quantile lower_quantile count_distinct arraymath |
Packages
| Type | Repo | Version | PG Major Availability | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EL | PIGSTY | 0.1.4 | 18 17 16 15 14 13 | first_last_agg_$v | - |
| Debian | PGDG | 0.1.4 | 18 17 16 15 14 13 | postgresql-$v-first-last-agg | - |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 | PG13 |
|---|---|---|---|---|---|---|
el8.x86_64 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 |
el8.aarch64 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 |
el9.x86_64 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 |
el9.aarch64 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 |
el10.x86_64 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 |
el10.aarch64 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 | PIGSTY 0.1.4 |
d12.x86_64 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 |
d12.aarch64 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 |
d13.x86_64 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 |
d13.aarch64 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 |
u22.x86_64 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 |
u22.aarch64 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 |
u24.x86_64 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 |
u24.aarch64 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 | PGDG 0.1.4 |
Source
pig build get first_last_agg; # get first_last_agg source code
pig build dep first_last_agg; # install build dependencies
pig build pkg first_last_agg; # build extension rpm or deb
pig build ext first_last_agg; # build extension rpmsInstall
To add the required PGDG / PIGSTY upstream repository, use:
pig repo add pgsql -u # add PGDG + Pigsty repo and update cache (leave existing repos)Install this extension with:
pig ext install first_last_agg; # install by extension name, for the current active PG version
pig ext install first_last_agg; # install via package alias, for the active PG version
pig ext install first_last_agg -v 18; # install for PG 18
pig ext install first_last_agg -v 17; # install for PG 17
pig ext install first_last_agg -v 16; # install for PG 16
pig ext install first_last_agg -v 15; # install for PG 15
pig ext install first_last_agg -v 14; # install for PG 14
pig ext install first_last_agg -v 13; # install for PG 13Create this extension with:
CREATE EXTENSION first_last_agg;Last updated on