pg_math
pg_math
GSL statistical functions for postgresql
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 4780 | pg_math | pg_math | 1.0 | FUNC | GPL-3.0 | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--s-d-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| See Also | pg_idkit pgx_ulid pg_uuidv7 permuteseq pg_hashids sequential_uuids topn quantile |
Packages
| Type | Repo | Version | PG Major Availability | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EL | PIGSTY | 1.0 | 18 17 16 15 14 13 | pg_math_$v* | - |
| Debian | PIGSTY | 1.0 | 18 17 16 15 14 13 | postgresql-$v-pg-math | - |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 | PG13 |
|---|---|---|---|---|---|---|
el8.x86_64 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
el8.aarch64 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
el9.x86_64 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
el9.aarch64 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
el10.x86_64 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
el10.aarch64 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
d12.x86_64 | MISS | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
d12.aarch64 | MISS | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
d13.x86_64 | MISS | MISS | MISS | MISS | MISS | MISS |
d13.aarch64 | MISS | MISS | MISS | MISS | MISS | MISS |
u22.x86_64 | MISS | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
u22.aarch64 | MISS | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
u24.x86_64 | MISS | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
u24.aarch64 | MISS | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 | PIGSTY 1.0 |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pg_math_18 | 1.0 | el8.x86_64 | pigsty | 33.0 KiB | pg_math_18-1.0-1PIGSTY.el8.x86_64.rpm |
pg_math_18 | 1.0 | el8.aarch64 | pigsty | 31.0 KiB | pg_math_18-1.0-1PIGSTY.el8.aarch64.rpm |
pg_math_18 | 1.0 | el9.x86_64 | pigsty | 31.4 KiB | pg_math_18-1.0-1PIGSTY.el9.x86_64.rpm |
pg_math_18 | 1.0 | el9.aarch64 | pigsty | 29.8 KiB | pg_math_18-1.0-1PIGSTY.el9.aarch64.rpm |
pg_math_18 | 1.0 | el10.x86_64 | pigsty | 31.7 KiB | pg_math_18-1.0-1PIGSTY.el10.x86_64.rpm |
pg_math_18 | 1.0 | el10.aarch64 | pigsty | 30.1 KiB | pg_math_18-1.0-1PIGSTY.el10.aarch64.rpm |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pg_math_17 | 1.0 | el8.x86_64 | pigsty | 33.1 KiB | pg_math_17-1.0-1PIGSTY.el8.x86_64.rpm |
pg_math_17 | 1.0 | el8.aarch64 | pigsty | 31.0 KiB | pg_math_17-1.0-1PIGSTY.el8.aarch64.rpm |
pg_math_17 | 1.0 | el9.x86_64 | pigsty | 31.5 KiB | pg_math_17-1.0-1PIGSTY.el9.x86_64.rpm |
pg_math_17 | 1.0 | el9.aarch64 | pigsty | 29.8 KiB | pg_math_17-1.0-1PIGSTY.el9.aarch64.rpm |
pg_math_17 | 1.0 | el10.x86_64 | pigsty | 31.7 KiB | pg_math_17-1.0-1PIGSTY.el10.x86_64.rpm |
pg_math_17 | 1.0 | el10.aarch64 | pigsty | 30.1 KiB | pg_math_17-1.0-1PIGSTY.el10.aarch64.rpm |
postgresql-17-pg-math | 1.0 | d12.x86_64 | pigsty | 61.1 KiB | postgresql-17-pg-math_1.0-1PIGSTY~bookworm_amd64.deb |
postgresql-17-pg-math | 1.0 | d12.aarch64 | pigsty | 60.1 KiB | postgresql-17-pg-math_1.0-1PIGSTY~bookworm_arm64.deb |
postgresql-17-pg-math | 1.0 | u22.x86_64 | pigsty | 69.0 KiB | postgresql-17-pg-math_1.0-1PIGSTY~jammy_amd64.deb |
postgresql-17-pg-math | 1.0 | u22.aarch64 | pigsty | 67.8 KiB | postgresql-17-pg-math_1.0-1PIGSTY~jammy_arm64.deb |
postgresql-17-pg-math | 1.0 | u24.x86_64 | pigsty | 64.8 KiB | postgresql-17-pg-math_1.0-1PIGSTY~noble_amd64.deb |
postgresql-17-pg-math | 1.0 | u24.aarch64 | pigsty | 63.4 KiB | postgresql-17-pg-math_1.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pg_math_16 | 1.0 | el8.x86_64 | pigsty | 33.0 KiB | pg_math_16-1.0-1PIGSTY.el8.x86_64.rpm |
pg_math_16 | 1.0 | el8.aarch64 | pigsty | 31.0 KiB | pg_math_16-1.0-1PIGSTY.el8.aarch64.rpm |
pg_math_16 | 1.0 | el9.x86_64 | pigsty | 31.4 KiB | pg_math_16-1.0-1PIGSTY.el9.x86_64.rpm |
pg_math_16 | 1.0 | el9.aarch64 | pigsty | 29.8 KiB | pg_math_16-1.0-1PIGSTY.el9.aarch64.rpm |
pg_math_16 | 1.0 | el10.x86_64 | pigsty | 31.7 KiB | pg_math_16-1.0-1PIGSTY.el10.x86_64.rpm |
pg_math_16 | 1.0 | el10.aarch64 | pigsty | 30.1 KiB | pg_math_16-1.0-1PIGSTY.el10.aarch64.rpm |
postgresql-16-pg-math | 1.0 | d12.x86_64 | pigsty | 61.1 KiB | postgresql-16-pg-math_1.0-1PIGSTY~bookworm_amd64.deb |
postgresql-16-pg-math | 1.0 | d12.aarch64 | pigsty | 60.1 KiB | postgresql-16-pg-math_1.0-1PIGSTY~bookworm_arm64.deb |
postgresql-16-pg-math | 1.0 | u22.x86_64 | pigsty | 69.0 KiB | postgresql-16-pg-math_1.0-1PIGSTY~jammy_amd64.deb |
postgresql-16-pg-math | 1.0 | u22.aarch64 | pigsty | 67.8 KiB | postgresql-16-pg-math_1.0-1PIGSTY~jammy_arm64.deb |
postgresql-16-pg-math | 1.0 | u24.x86_64 | pigsty | 64.8 KiB | postgresql-16-pg-math_1.0-1PIGSTY~noble_amd64.deb |
postgresql-16-pg-math | 1.0 | u24.aarch64 | pigsty | 63.3 KiB | postgresql-16-pg-math_1.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pg_math_15 | 1.0 | el8.x86_64 | pigsty | 33.1 KiB | pg_math_15-1.0-1PIGSTY.el8.x86_64.rpm |
pg_math_15 | 1.0 | el8.aarch64 | pigsty | 31.0 KiB | pg_math_15-1.0-1PIGSTY.el8.aarch64.rpm |
pg_math_15 | 1.0 | el9.x86_64 | pigsty | 31.4 KiB | pg_math_15-1.0-1PIGSTY.el9.x86_64.rpm |
pg_math_15 | 1.0 | el9.aarch64 | pigsty | 29.8 KiB | pg_math_15-1.0-1PIGSTY.el9.aarch64.rpm |
pg_math_15 | 1.0 | el10.x86_64 | pigsty | 31.7 KiB | pg_math_15-1.0-1PIGSTY.el10.x86_64.rpm |
pg_math_15 | 1.0 | el10.aarch64 | pigsty | 30.1 KiB | pg_math_15-1.0-1PIGSTY.el10.aarch64.rpm |
postgresql-15-pg-math | 1.0 | d12.x86_64 | pigsty | 61.0 KiB | postgresql-15-pg-math_1.0-1PIGSTY~bookworm_amd64.deb |
postgresql-15-pg-math | 1.0 | d12.aarch64 | pigsty | 60.2 KiB | postgresql-15-pg-math_1.0-1PIGSTY~bookworm_arm64.deb |
postgresql-15-pg-math | 1.0 | u22.x86_64 | pigsty | 69.0 KiB | postgresql-15-pg-math_1.0-1PIGSTY~jammy_amd64.deb |
postgresql-15-pg-math | 1.0 | u22.aarch64 | pigsty | 67.8 KiB | postgresql-15-pg-math_1.0-1PIGSTY~jammy_arm64.deb |
postgresql-15-pg-math | 1.0 | u24.x86_64 | pigsty | 64.8 KiB | postgresql-15-pg-math_1.0-1PIGSTY~noble_amd64.deb |
postgresql-15-pg-math | 1.0 | u24.aarch64 | pigsty | 63.4 KiB | postgresql-15-pg-math_1.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pg_math_14 | 1.0 | el8.x86_64 | pigsty | 33.1 KiB | pg_math_14-1.0-1PIGSTY.el8.x86_64.rpm |
pg_math_14 | 1.0 | el8.aarch64 | pigsty | 31.0 KiB | pg_math_14-1.0-1PIGSTY.el8.aarch64.rpm |
pg_math_14 | 1.0 | el9.x86_64 | pigsty | 31.3 KiB | pg_math_14-1.0-1PIGSTY.el9.x86_64.rpm |
pg_math_14 | 1.0 | el9.aarch64 | pigsty | 29.7 KiB | pg_math_14-1.0-1PIGSTY.el9.aarch64.rpm |
pg_math_14 | 1.0 | el10.x86_64 | pigsty | 31.6 KiB | pg_math_14-1.0-1PIGSTY.el10.x86_64.rpm |
pg_math_14 | 1.0 | el10.aarch64 | pigsty | 30.1 KiB | pg_math_14-1.0-1PIGSTY.el10.aarch64.rpm |
postgresql-14-pg-math | 1.0 | d12.x86_64 | pigsty | 60.9 KiB | postgresql-14-pg-math_1.0-1PIGSTY~bookworm_amd64.deb |
postgresql-14-pg-math | 1.0 | d12.aarch64 | pigsty | 59.9 KiB | postgresql-14-pg-math_1.0-1PIGSTY~bookworm_arm64.deb |
postgresql-14-pg-math | 1.0 | u22.x86_64 | pigsty | 68.9 KiB | postgresql-14-pg-math_1.0-1PIGSTY~jammy_amd64.deb |
postgresql-14-pg-math | 1.0 | u22.aarch64 | pigsty | 67.6 KiB | postgresql-14-pg-math_1.0-1PIGSTY~jammy_arm64.deb |
postgresql-14-pg-math | 1.0 | u24.x86_64 | pigsty | 64.8 KiB | postgresql-14-pg-math_1.0-1PIGSTY~noble_amd64.deb |
postgresql-14-pg-math | 1.0 | u24.aarch64 | pigsty | 63.5 KiB | postgresql-14-pg-math_1.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pg_math_13 | 1.0 | el8.x86_64 | pigsty | 32.0 KiB | pg_math_13-1.0-1PIGSTY.el8.x86_64.rpm |
pg_math_13 | 1.0 | el8.aarch64 | pigsty | 30.9 KiB | pg_math_13-1.0-1PIGSTY.el8.aarch64.rpm |
pg_math_13 | 1.0 | el9.x86_64 | pigsty | 31.4 KiB | pg_math_13-1.0-1PIGSTY.el9.x86_64.rpm |
pg_math_13 | 1.0 | el9.aarch64 | pigsty | 29.7 KiB | pg_math_13-1.0-1PIGSTY.el9.aarch64.rpm |
pg_math_13 | 1.0 | el10.x86_64 | pigsty | 31.6 KiB | pg_math_13-1.0-1PIGSTY.el10.x86_64.rpm |
pg_math_13 | 1.0 | el10.aarch64 | pigsty | 30.1 KiB | pg_math_13-1.0-1PIGSTY.el10.aarch64.rpm |
postgresql-13-pg-math | 1.0 | d12.x86_64 | pigsty | 61.0 KiB | postgresql-13-pg-math_1.0-1PIGSTY~bookworm_amd64.deb |
postgresql-13-pg-math | 1.0 | d12.aarch64 | pigsty | 59.8 KiB | postgresql-13-pg-math_1.0-1PIGSTY~bookworm_arm64.deb |
postgresql-13-pg-math | 1.0 | u22.x86_64 | pigsty | 68.7 KiB | postgresql-13-pg-math_1.0-1PIGSTY~jammy_amd64.deb |
postgresql-13-pg-math | 1.0 | u22.aarch64 | pigsty | 67.6 KiB | postgresql-13-pg-math_1.0-1PIGSTY~jammy_arm64.deb |
postgresql-13-pg-math | 1.0 | u24.x86_64 | pigsty | 64.6 KiB | postgresql-13-pg-math_1.0-1PIGSTY~noble_amd64.deb |
postgresql-13-pg-math | 1.0 | u24.aarch64 | pigsty | 63.3 KiB | postgresql-13-pg-math_1.0-1PIGSTY~noble_arm64.deb |
Source
pig build get pg_math; # get pg_math source code
pig build dep pg_math; # install build dependencies
pig build pkg pg_math; # build extension rpm or deb
pig build ext pg_math; # 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 pg_math; # install by extension name, for the current active PG version
pig ext install pg_math; # install via package alias, for the active PG version
pig ext install pg_math -v 18; # install for PG 18
pig ext install pg_math -v 17; # install for PG 17
pig ext install pg_math -v 16; # install for PG 16
pig ext install pg_math -v 15; # install for PG 15
pig ext install pg_math -v 14; # install for PG 14
pig ext install pg_math -v 13; # install for PG 13Create this extension with:
CREATE EXTENSION pg_math;Last updated on