pg_duration
data type for representing durations
Module:
Categories:
Overview
PIGSTY 3rd Party Extension: pg_duration : data type for representing durations
Information
- Extension ID: 3830
- Extension Name:
pg_duration - Package Name:
pg_duration - Category:
TYPE - License: MIT
- Website: https://github.com/jkosh44/pg_duration
- Language: C
- Extra Tags: N/A
- Comment: N/A
Metadata
- Latest Version: 1.0.2
- Postgres Support:
17 - Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSIONDDL - 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.2 - RPM Deps: N/A
- DEB Repo: PIGSTY
- DEB Name:
postgresql-$v-pg-duration - DEB Ver :
1.0.2 - DEB Deps: N/A
Availability
| OS | Arch | PG17 | PG16 | PG15 | PG14 | PG13 |
|---|---|---|---|---|---|---|
el8 |
x86_64 |
pg_duration_17 PIGSTY 1.0.2 |
||||
el8 |
aarch64 |
pg_duration_17 PIGSTY 1.0.2 |
||||
el9 |
x86_64 |
pg_duration_17 PIGSTY 1.0.2 |
||||
el9 |
aarch64 |
pg_duration_17 PIGSTY 1.0.2 |
||||
d12 |
x86_64 |
postgresql-17-pg-duration PIGSTY 1.0.2 |
||||
d12 |
aarch64 |
postgresql-17-pg-duration PIGSTY 1.0.2 |
||||
u22 |
x86_64 |
postgresql-17-pg-duration PIGSTY 1.0.2 |
||||
u22 |
aarch64 |
postgresql-17-pg-duration PIGSTY 1.0.2 |
||||
u24 |
x86_64 |
postgresql-17-pg-duration PIGSTY 1.0.2 |
||||
u24 |
aarch64 |
postgresql-17-pg-duration PIGSTY 1.0.2 |
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;
Create pg_duration extension on PostgreSQL cluster:
CREATE EXTENSION pg_duration;
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.