unit
SI units extension
Module:
Categories:
Overview
PGDG 1st Party Extension: pgunit
: SI units extension
Information
- Extension ID: 3520
- Extension Name:
unit
- Package Name:
pgunit
- Category:
TYPE
- License: GPLv2
- Website: https://github.com/df7cb/postgresql-unit
- Language: C
- Extra Tags: N/A
- Comment: N/A
Metadata
- Latest Version: 7
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL - Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires:
plpgsql
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
postgresql-unit_$v*
- RPM Ver :
7
- RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-unit
- DEB Ver :
7
- DEB Deps: N/A
Packages
Installation
Install unit
via the pig
CLI tool:
pig ext install pgunit; # Extension Namepig ext install unit; # normalized package name
Install pgunit
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgunit"]}' # -l <cls>
Install pgunit
RPM from YUM repo directly:
dnf install postgresql-unit_17*;
dnf install postgresql-unit_16*;
dnf install postgresql-unit_15*;
dnf install postgresql-unit_14*;
dnf install postgresql-unit_13*;
Install pgunit
DEB from APT repo directly:
apt install postgresql-17-unit;
apt install postgresql-16-unit;
apt install postgresql-15-unit;
apt install postgresql-14-unit;
apt install postgresql-13-unit;
Enable unit
extension on PostgreSQL cluster:
CREATE EXTENSION unit CASCADE;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.