geekspeak_calendar
pg_geekspeak_calendar · Calendar and iCalendar integration for GeekSpeak podcast recording schedules and episodes.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100606 | geekspeak_calendar | pg_geekspeak_calendar | 1.0.0 | TIME | MIT | SQL |
| Relationships | |
|---|---|
| Requires | geekspeak |
Usage
Sources:
geekspeak_calendar 1.0.0 is an application-specific SQL extension for the GeekSpeak podcast database. It stores recurring recording windows and exposes a rolling calendar view that combines those schedules with episode, participant, person, and location data supplied by the required geekspeak extension.
Core Workflow
Install the dependency and extension in the intended GeekSpeak schema, then add a recording schedule and query the generated calendar:
The time difference between start and end defines each recording’s duration. Their dates delimit the recurring schedule, while cancellations removes individual dates and location supplies a default location.
Important Objects
recording_schedulesstores the first start, final end, default location, and cancelled dates for a weekly schedule.sessions_similarity_gistis an exclusion constraint that rejects overlapping schedule windows with the same weekday and overlapping time-of-day ranges.calendarexpands schedules around the current date, joins pending episode data, and returns title, description, participants, location, geometry, modification time, start, and end.
Operational Notes
This is not a general iCalendar parser or exporter. The view is coupled to the geekspeak schema objects episodes, participants, people, and locations, and the control file declares geekspeak as a required extension. The rolling view uses now() and a fixed generate_series(0, 50) horizon, so its output changes with time and covers roughly the next 50 weekly occurrences plus the preceding week. Review the upstream SQL against the exact geekspeak schema before deployment.