workalendar
PostgreSQL extension for Workalendar
workalendar · PostgreSQL extension for Workalendar
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101838 | workalendar | workalendar | 1.0.0 | TIME | Unknown | SQL |
| Relationships | |
|---|---|
| Requires | plpython3u |
Usage
Sources:
- Official upstream README
- Official extension control file (workalendar.control)
- Official extension SQL (workalendar–1.0.0.sql)
workalendar — pg_workalendar is a plpythonu-based PostgreSQL extension for workalendar. Use it for the corresponding scheduling, temporal, or time-series workflow. Its extension dependencies must be installed and validated first.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
holidays(year int, continent text, country text)is an extension function and returnsSETOF.workon(venv text)is an extension function and returnsvoid.holidayis an extension-defined type.
Requirements and Caveats
- The reviewed control file declares default version
1.0.0. - Install the confirmed extension dependencies first:
plpython3u. - The control file marks the extension as non-relocatable.
- The control file does not require superuser-only installation.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.