pg_duration

data type for representing durations

Overview

PIGSTY 3rd Party Extension: pg_duration : data type for representing durations

Information

Metadata

  • Latest Version: 1.0.1
  • Postgres Support: 17
  • Need Load: Shared library do not need explicit loading
  • Need DDL: Need CREATE EXTENSION DDL
  • Relocatable: Can not install to arbitrary schema
  • Trusted: Untrusted, Require Superuser to Create
  • Schemas: N/A
  • Requires: N/A

RPM / DEB

  • RPM Repo: PIGSTY
  • RPM Name: pg_duration_$v*
  • RPM Ver : 1.0.1
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-pg-duration
  • DEB Ver : 1.0.1
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_duration_17
PIGSTY 1.0.1
el8 aarch64 pg_duration_17
PIGSTY 1.0.1
el9 x86_64 pg_duration_17
PIGSTY 1.0.1
el9 aarch64 pg_duration_17
PIGSTY 1.0.1
d12 x86_64 postgresql-17-pg-duration
PIGSTY 1.0.1
d12 aarch64 postgresql-17-pg-duration
PIGSTY 1.0.1
u22 x86_64 postgresql-17-pg-duration
PIGSTY 1.0.1
u22 aarch64 postgresql-17-pg-duration
PIGSTY 1.0.1
u24 x86_64 postgresql-17-pg-duration
PIGSTY 1.0.1
u24 aarch64 postgresql-17-pg-duration
PIGSTY 1.0.1

Installation

Install pg_duration via the pig CLI tool:

pig ext install pg_duration

Install pg_duration via Pigsty playbook:

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

Install pg_duration RPM from YUM repo directly:

dnf install pg_duration_17*;

Install pg_duration DEB from APT repo directly:

apt install postgresql-17-pg-duration;

Enable pg_duration extension on PostgreSQL cluster:

CREATE EXTENSION pg_duration;




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