Skip to content

workalendar

PostgreSQL extension for Workalendar

workalendar · PostgreSQL extension for Workalendar

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101838workalendarworkalendar1.0.0TIMEUnknownSQL
Relationships
Requiresplpython3u

Usage

Sources:

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

CREATE EXTENSION workalendar;

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 returns SETOF.
  • workon(venv text) is an extension function and returns void.
  • holiday is 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.

Table reader