pgcalendar
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pgcalendar | 1.1.0 | TYPE | MIT | SQL |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 3890 | pgcalendar | No | No | No | Yes | No | No | pgcalendar |
| Related | pg_rrule pg_when cron_utils pg_cron pg_duration pg_bikram_sambat timestamp9 pgsql_tweaks pg_extra_time pg_math |
|---|
Deb/RPM recipes patch the stale upstream 1.1.0 control metadata (default_version/module_pathname).
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.1.0 | 1817161514 | pgcalendar | - |
| RPM | PIGSTY | 1.1.0 | 1817161514 | pgcalendar_$v | - |
| DEB | PIGSTY | 1.1.0 | 1817161514 | postgresql-$v-pgcalendar | - |
Build
You can build the RPM / DEB packages for pgcalendar using pig build:
Install
You can install pgcalendar directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Create Extension:
Usage
pgcalendar is a recurring calendar extension for PostgreSQL. The upstream README models recurring schedules with four main pieces: events, schedules, exceptions, and generated projections.
Create events and schedules
The README shows daily, weekly, monthly, and yearly recurrences, with extra columns such as recurrence_day_of_week, recurrence_day_of_month, and recurrence_month depending on the recurrence type.
Query projections
The README also uses the pgcalendar.event_calendar view as a quick verification target.
Exceptions and schedule transitions
Use pgcalendar.check_schedule_overlap(...) before adding a new schedule when you need to verify that date ranges do not overlap.
Caveat
The upstream README is the only user-facing documentation currently published. It gives clear table and function examples, but it does not add separate versioned release notes for user-visible SQL changes.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)