pgsodium

Postgres extension for libsodium functions

Overview

PIGSTY 3rd Party Extension: pgsodium : Postgres extension for libsodium functions

Information

Metadata

  • Latest Version: 3.1.9
  • Postgres Support: 17,16,15,14,13
  • Need Load: Explicit Loading Required
  • Need DDL: Need CREATE EXTENSION DDL
  • Relocatable: Can be installed into other schemas
  • Trusted: Untrusted, Require Superuser to Create
  • Schemas: pgsodium
  • Requires: N/A

RPM / DEB

  • RPM Repo: PIGSTY
  • RPM Name: pgsodium_$v*
  • RPM Ver : 3.1.9
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-pgsodium
  • DEB Ver : 3.1.9
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgsodium_17
PGDG 3.1.9
pgsodium_16
PGDG 3.1.9
pgsodium_15
PGDG 3.1.9
pgsodium_14
PGDG 3.1.9
pgsodium_13
PGDG 3.1.9
el8 aarch64 pgsodium_17
PGDG 3.1.9
pgsodium_16
PGDG 3.1.9
pgsodium_15
PGDG 3.1.9
pgsodium_14
PGDG 3.1.9
pgsodium_13
PGDG 3.1.9
el9 x86_64 pgsodium_17
PGDG 3.1.9
pgsodium_16
PGDG 3.1.9
pgsodium_15
PGDG 3.1.9
pgsodium_14
PGDG 3.1.9
pgsodium_13
PGDG 3.1.9
el9 aarch64 pgsodium_17
PGDG 3.1.9
pgsodium_16
PGDG 3.1.9
pgsodium_15
PGDG 3.1.9
pgsodium_14
PGDG 3.1.9
pgsodium_13
PGDG 3.1.9
d12 x86_64 postgresql-17-pgsodium
PIGSTY 3.1.9
postgresql-16-pgsodium
PIGSTY 3.1.9
postgresql-15-pgsodium
PIGSTY 3.1.9
postgresql-14-pgsodium
PIGSTY 3.1.9
postgresql-13-pgsodium
PIGSTY 3.1.9
d12 aarch64 postgresql-17-pgsodium
PIGSTY 3.1.9
postgresql-16-pgsodium
PIGSTY 3.1.9
postgresql-15-pgsodium
PIGSTY 3.1.9
postgresql-14-pgsodium
PIGSTY 3.1.9
postgresql-13-pgsodium
PIGSTY 3.1.9
u22 x86_64 postgresql-17-pgsodium
PIGSTY 3.1.9
postgresql-16-pgsodium
PIGSTY 3.1.9
postgresql-15-pgsodium
PIGSTY 3.1.9
postgresql-14-pgsodium
PIGSTY 3.1.9
postgresql-13-pgsodium
PIGSTY 3.1.9
u22 aarch64 postgresql-17-pgsodium
PIGSTY 3.1.9
postgresql-16-pgsodium
PIGSTY 3.1.9
postgresql-15-pgsodium
PIGSTY 3.1.9
postgresql-14-pgsodium
PIGSTY 3.1.9
postgresql-13-pgsodium
PIGSTY 3.1.9
u24 x86_64 postgresql-17-pgsodium
PIGSTY 3.1.9
postgresql-16-pgsodium
PIGSTY 3.1.9
postgresql-15-pgsodium
PIGSTY 3.1.9
postgresql-14-pgsodium
PIGSTY 3.1.9
postgresql-13-pgsodium
PIGSTY 3.1.9
u24 aarch64 postgresql-17-pgsodium
PIGSTY 3.1.9
postgresql-16-pgsodium
PIGSTY 3.1.9
postgresql-15-pgsodium
PIGSTY 3.1.9
postgresql-14-pgsodium
PIGSTY 3.1.9
postgresql-13-pgsodium
PIGSTY 3.1.9

Installation

Install pgsodium via the pig CLI tool:

pig ext install pgsodium

Install pgsodium via Pigsty playbook:

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

Install pgsodium RPM from YUM repo directly:

dnf install pgsodium_17*;
dnf install pgsodium_16*;
dnf install pgsodium_15*;
dnf install pgsodium_14*;
dnf install pgsodium_13*;

Install pgsodium DEB from APT repo directly:

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

Extension pgsodium has to be added to shared_preload_libraries

shared_preload_libraries = 'pgsodium'; # add to pg cluster config

Enable pgsodium extension on PostgreSQL cluster:

CREATE EXTENSION pgsodium;




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