pg_rrule
RRULE field type for PostgreSQL
pg_rrule : RRULE field type for PostgreSQL
Overview
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| See Also | pgcalendar pg_when cron_utils pg_cron pg_duration pg_bikram_sambat timestamp9 |
require libical
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | MIXED | 0.3.0 |
18 17 16 15 14 | pg_rrule |
- |
| RPM | PIGSTY | 0.3.0 |
18 17 16 15 14 | pg_rrule_$v |
libical |
| DEB | PGDG | 0.3.0 |
18 17 16 15 14 | postgresql-$v-pg-rrule |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 |
| el8.aarch64 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 |
| el9.x86_64 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 |
| el9.aarch64 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 |
| el10.x86_64 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 |
| el10.aarch64 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 | PIGSTY 0.3.0 |
| d12.x86_64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
| d12.aarch64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
| d13.x86_64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
| d13.aarch64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
| u22.x86_64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
| u22.aarch64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
| u24.x86_64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
| u24.aarch64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
| u26.x86_64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
| u26.aarch64 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 | PGDG 0.3.0 |
Source
github.com/petropavel13/pg_rrule
pg_rrule-0.3.0.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
pg_rrule: iCalendar RRULE recurrence rule type for PostgreSQL
The pg_rrule extension provides an RRULE data type for parsing and expanding iCalendar recurrence rules (RFC 5545).
Parameter Extraction
Occurrence Generation
The get_occurrences() function expands RRULE definitions into concrete timestamp sequences, supporting both timezone-aware and naive timestamp parameters.
Dependencies
Requires libical for iCalendar standard compliance.