pg4ml

Machine learning framework for PostgreSQL

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
1880
pg4ml
pg4ml
2.0
RAG
AGPL-3.0
C
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
----dtr
No
No
No
Yes
yes
yes
Relationships
Requires
plpgsql
tablefunc
cube
plpython3u
See Also
pgml
vectorize
pg_summarize
pg_tiktoken
vector
vchord
vectorscale
pg_strom

require python3

Packages

TypeRepoVersionPG Major AvailabilityPackage PatternDependencies
EL
PIGSTY
2.0
18
17
16
15
14
13
pg4ml_$v-
Debian
PIGSTY
2.0
18
17
16
15
14
13
postgresql-$v-pg4ml-
Linux / PGPG18PG17PG16PG15PG14PG13
el8.x86_64
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
el8.aarch64
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
el9.x86_64
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
el9.aarch64
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
el10.x86_64
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
el10.aarch64
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
d12.x86_64
MISS
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
d12.aarch64
MISS
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
d13.x86_64
MISS
MISS
MISS
MISS
MISS
MISS
d13.aarch64
MISS
MISS
MISS
MISS
MISS
MISS
u22.x86_64
MISS
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
u22.aarch64
MISS
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
u24.x86_64
MISS
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
u24.aarch64
MISS
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PIGSTY 2.0
PackageVersionOSORGSIZEFile URL
pg4ml_182.0el8.x86_64pigsty341.2 KiBpg4ml_18-2.0-1PIGSTY.el8.x86_64.rpm
pg4ml_182.0el8.aarch64pigsty341.2 KiBpg4ml_18-2.0-1PIGSTY.el8.aarch64.rpm
pg4ml_182.0el9.x86_64pigsty294.8 KiBpg4ml_18-2.0-1PIGSTY.el9.x86_64.rpm
pg4ml_182.0el9.aarch64pigsty294.7 KiBpg4ml_18-2.0-1PIGSTY.el9.aarch64.rpm
pg4ml_182.0el10.x86_64pigsty294.9 KiBpg4ml_18-2.0-1PIGSTY.el10.x86_64.rpm
pg4ml_182.0el10.aarch64pigsty294.9 KiBpg4ml_18-2.0-1PIGSTY.el10.aarch64.rpm
PackageVersionOSORGSIZEFile URL
pg4ml_172.0el8.x86_64pigsty341.2 KiBpg4ml_17-2.0-1PIGSTY.el8.x86_64.rpm
pg4ml_172.0el8.aarch64pigsty341.1 KiBpg4ml_17-2.0-1PIGSTY.el8.aarch64.rpm
pg4ml_172.0el9.x86_64pigsty294.8 KiBpg4ml_17-2.0-1PIGSTY.el9.x86_64.rpm
pg4ml_172.0el9.aarch64pigsty294.7 KiBpg4ml_17-2.0-1PIGSTY.el9.aarch64.rpm
pg4ml_172.0el10.x86_64pigsty294.9 KiBpg4ml_17-2.0-1PIGSTY.el10.x86_64.rpm
pg4ml_172.0el10.aarch64pigsty294.9 KiBpg4ml_17-2.0-1PIGSTY.el10.aarch64.rpm
postgresql-17-pg4ml2.0d12.x86_64pigsty316.2 KiBpostgresql-17-pg4ml_2.0-1PIGSTY~bookworm_amd64.deb
postgresql-17-pg4ml2.0d12.aarch64pigsty316.2 KiBpostgresql-17-pg4ml_2.0-1PIGSTY~bookworm_arm64.deb
postgresql-17-pg4ml2.0u22.x86_64pigsty317.1 KiBpostgresql-17-pg4ml_2.0-1PIGSTY~jammy_amd64.deb
postgresql-17-pg4ml2.0u22.aarch64pigsty317.1 KiBpostgresql-17-pg4ml_2.0-1PIGSTY~jammy_arm64.deb
postgresql-17-pg4ml2.0u24.x86_64pigsty316.8 KiBpostgresql-17-pg4ml_2.0-1PIGSTY~noble_amd64.deb
postgresql-17-pg4ml2.0u24.aarch64pigsty316.8 KiBpostgresql-17-pg4ml_2.0-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg4ml_162.0el8.x86_64pigsty341.2 KiBpg4ml_16-2.0-1PIGSTY.el8.x86_64.rpm
pg4ml_162.0el8.aarch64pigsty341.2 KiBpg4ml_16-2.0-1PIGSTY.el8.aarch64.rpm
pg4ml_162.0el9.x86_64pigsty294.8 KiBpg4ml_16-2.0-1PIGSTY.el9.x86_64.rpm
pg4ml_162.0el9.aarch64pigsty294.7 KiBpg4ml_16-2.0-1PIGSTY.el9.aarch64.rpm
pg4ml_162.0el10.x86_64pigsty294.9 KiBpg4ml_16-2.0-1PIGSTY.el10.x86_64.rpm
pg4ml_162.0el10.aarch64pigsty294.9 KiBpg4ml_16-2.0-1PIGSTY.el10.aarch64.rpm
postgresql-16-pg4ml2.0d12.x86_64pigsty316.2 KiBpostgresql-16-pg4ml_2.0-1PIGSTY~bookworm_amd64.deb
postgresql-16-pg4ml2.0d12.aarch64pigsty316.2 KiBpostgresql-16-pg4ml_2.0-1PIGSTY~bookworm_arm64.deb
postgresql-16-pg4ml2.0u22.x86_64pigsty317.2 KiBpostgresql-16-pg4ml_2.0-1PIGSTY~jammy_amd64.deb
postgresql-16-pg4ml2.0u22.aarch64pigsty317.2 KiBpostgresql-16-pg4ml_2.0-1PIGSTY~jammy_arm64.deb
postgresql-16-pg4ml2.0u24.x86_64pigsty316.8 KiBpostgresql-16-pg4ml_2.0-1PIGSTY~noble_amd64.deb
postgresql-16-pg4ml2.0u24.aarch64pigsty316.8 KiBpostgresql-16-pg4ml_2.0-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg4ml_152.0el8.x86_64pigsty341.2 KiBpg4ml_15-2.0-1PIGSTY.el8.x86_64.rpm
pg4ml_152.0el8.aarch64pigsty341.1 KiBpg4ml_15-2.0-1PIGSTY.el8.aarch64.rpm
pg4ml_152.0el9.x86_64pigsty294.8 KiBpg4ml_15-2.0-1PIGSTY.el9.x86_64.rpm
pg4ml_152.0el9.aarch64pigsty294.7 KiBpg4ml_15-2.0-1PIGSTY.el9.aarch64.rpm
pg4ml_152.0el10.x86_64pigsty294.9 KiBpg4ml_15-2.0-1PIGSTY.el10.x86_64.rpm
pg4ml_152.0el10.aarch64pigsty294.9 KiBpg4ml_15-2.0-1PIGSTY.el10.aarch64.rpm
postgresql-15-pg4ml2.0d12.x86_64pigsty316.2 KiBpostgresql-15-pg4ml_2.0-1PIGSTY~bookworm_amd64.deb
postgresql-15-pg4ml2.0d12.aarch64pigsty316.2 KiBpostgresql-15-pg4ml_2.0-1PIGSTY~bookworm_arm64.deb
postgresql-15-pg4ml2.0u22.x86_64pigsty317.1 KiBpostgresql-15-pg4ml_2.0-1PIGSTY~jammy_amd64.deb
postgresql-15-pg4ml2.0u22.aarch64pigsty317.1 KiBpostgresql-15-pg4ml_2.0-1PIGSTY~jammy_arm64.deb
postgresql-15-pg4ml2.0u24.x86_64pigsty316.8 KiBpostgresql-15-pg4ml_2.0-1PIGSTY~noble_amd64.deb
postgresql-15-pg4ml2.0u24.aarch64pigsty316.8 KiBpostgresql-15-pg4ml_2.0-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg4ml_142.0el8.x86_64pigsty341.2 KiBpg4ml_14-2.0-1PIGSTY.el8.x86_64.rpm
pg4ml_142.0el8.aarch64pigsty341.1 KiBpg4ml_14-2.0-1PIGSTY.el8.aarch64.rpm
pg4ml_142.0el9.x86_64pigsty294.8 KiBpg4ml_14-2.0-1PIGSTY.el9.x86_64.rpm
pg4ml_142.0el9.aarch64pigsty294.8 KiBpg4ml_14-2.0-1PIGSTY.el9.aarch64.rpm
pg4ml_142.0el10.x86_64pigsty294.9 KiBpg4ml_14-2.0-1PIGSTY.el10.x86_64.rpm
pg4ml_142.0el10.aarch64pigsty294.9 KiBpg4ml_14-2.0-1PIGSTY.el10.aarch64.rpm
postgresql-14-pg4ml2.0d12.x86_64pigsty316.2 KiBpostgresql-14-pg4ml_2.0-1PIGSTY~bookworm_amd64.deb
postgresql-14-pg4ml2.0d12.aarch64pigsty316.2 KiBpostgresql-14-pg4ml_2.0-1PIGSTY~bookworm_arm64.deb
postgresql-14-pg4ml2.0u22.x86_64pigsty317.1 KiBpostgresql-14-pg4ml_2.0-1PIGSTY~jammy_amd64.deb
postgresql-14-pg4ml2.0u22.aarch64pigsty317.1 KiBpostgresql-14-pg4ml_2.0-1PIGSTY~jammy_arm64.deb
postgresql-14-pg4ml2.0u24.x86_64pigsty316.8 KiBpostgresql-14-pg4ml_2.0-1PIGSTY~noble_amd64.deb
postgresql-14-pg4ml2.0u24.aarch64pigsty316.8 KiBpostgresql-14-pg4ml_2.0-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg4ml_132.0el8.x86_64pigsty341.2 KiBpg4ml_13-2.0-1PIGSTY.el8.x86_64.rpm
pg4ml_132.0el8.aarch64pigsty341.2 KiBpg4ml_13-2.0-1PIGSTY.el8.aarch64.rpm
pg4ml_132.0el9.x86_64pigsty294.8 KiBpg4ml_13-2.0-1PIGSTY.el9.x86_64.rpm
pg4ml_132.0el9.aarch64pigsty294.7 KiBpg4ml_13-2.0-1PIGSTY.el9.aarch64.rpm
pg4ml_132.0el10.x86_64pigsty294.9 KiBpg4ml_13-2.0-1PIGSTY.el10.x86_64.rpm
pg4ml_132.0el10.aarch64pigsty294.9 KiBpg4ml_13-2.0-1PIGSTY.el10.aarch64.rpm
postgresql-13-pg4ml2.0d12.x86_64pigsty316.2 KiBpostgresql-13-pg4ml_2.0-1PIGSTY~bookworm_amd64.deb
postgresql-13-pg4ml2.0d12.aarch64pigsty316.2 KiBpostgresql-13-pg4ml_2.0-1PIGSTY~bookworm_arm64.deb
postgresql-13-pg4ml2.0u22.x86_64pigsty317.1 KiBpostgresql-13-pg4ml_2.0-1PIGSTY~jammy_amd64.deb
postgresql-13-pg4ml2.0u22.aarch64pigsty317.1 KiBpostgresql-13-pg4ml_2.0-1PIGSTY~jammy_arm64.deb
postgresql-13-pg4ml2.0u24.x86_64pigsty316.8 KiBpostgresql-13-pg4ml_2.0-1PIGSTY~noble_amd64.deb
postgresql-13-pg4ml2.0u24.aarch64pigsty316.8 KiBpostgresql-13-pg4ml_2.0-1PIGSTY~noble_arm64.deb

Source

pig build get pg4ml; # get pg4ml source code
pig build dep pg4ml; # install build dependencies
pig build pkg pg4ml; # build extension rpm or deb
pig build ext pg4ml; # build extension rpms

Install

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 pg4ml; # install by extension name, for the current active PG version
pig ext install pg4ml; # install via package alias, for the active PG version
pig ext install pg4ml -v 18;   # install for PG 18
pig ext install pg4ml -v 17;   # install for PG 17
pig ext install pg4ml -v 16;   # install for PG 16
pig ext install pg4ml -v 15;   # install for PG 15
pig ext install pg4ml -v 14;   # install for PG 14
pig ext install pg4ml -v 13;   # install for PG 13

Create this extension with:

CREATE EXTENSION pg4ml;
Last updated on