pg4ml

Machine learning framework for PostgreSQL

Overview

PIGSTY 3rd Party Extension: pg4ml : Machine learning framework for PostgreSQL

Information

Metadata

  • Latest Version: 2.0
  • Postgres Support: 17,16,15,14,13
  • Need Load: Shared library do not need explicit loading
  • Need DDL: Need CREATE EXTENSION DDL
  • Relocatable: Can not install to arbitrary schema
  • Trusted: Trusted, Can be created by user with CREATE Privilege
  • Schemas: N/A
  • Requires: plpgsql, tablefunc, cube, plpython3u

RPM / DEB

  • RPM Repo: PIGSTY
  • RPM Name: pg4ml_$v
  • RPM Ver : 2.0
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-pg4ml
  • DEB Ver : 2.0
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg4ml_17
PIGSTY 2.0
pg4ml_16
PIGSTY 2.0
pg4ml_15
PIGSTY 2.0
pg4ml_14
PIGSTY 2.0
pg4ml_13
PIGSTY 2.0
el8 aarch64 pg4ml_17
PIGSTY 2.0
pg4ml_16
PIGSTY 2.0
pg4ml_15
PIGSTY 2.0
pg4ml_14
PIGSTY 2.0
pg4ml_13
PIGSTY 2.0
el9 x86_64 pg4ml_17
PIGSTY 2.0
pg4ml_16
PIGSTY 2.0
pg4ml_15
PIGSTY 2.0
pg4ml_14
PIGSTY 2.0
pg4ml_13
PIGSTY 2.0
el9 aarch64 pg4ml_17
PIGSTY 2.0
pg4ml_16
PIGSTY 2.0
pg4ml_15
PIGSTY 2.0
pg4ml_14
PIGSTY 2.0
pg4ml_13
PIGSTY 2.0
d12 x86_64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
d12 aarch64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
u22 x86_64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
u22 aarch64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
u24 x86_64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
u24 aarch64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0

Installation

Install pg4ml via the pig CLI tool:

pig ext install pg4ml

Install pg4ml via Pigsty playbook:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg4ml"]}' # -l <cls>

Install pg4ml RPM from YUM repo directly:

dnf install pg4ml_17;
dnf install pg4ml_16;
dnf install pg4ml_15;
dnf install pg4ml_14;
dnf install pg4ml_13;

Install pg4ml DEB from APT repo directly:

apt install postgresql-17-pg4ml;
apt install postgresql-16-pg4ml;
apt install postgresql-15-pg4ml;
apt install postgresql-14-pg4ml;
apt install postgresql-13-pg4ml;

Enable pg4ml extension on PostgreSQL cluster:

CREATE EXTENSION pg4ml CASCADE;




Last modified 2025-02-17: add extension part (cfa504b)