Skip to content

launchql-ext-jobs

Historical LaunchQL SQL job queue and worker coordination

launchql-ext-jobs · Historical LaunchQL SQL job queue and worker coordination

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102150launchql-ext-jobslaunchql-ext-jobs0.4.5ADMINMITPLpgSQL

Usage

Sources:

launchql-ext-jobs stores jobs, scheduled jobs and queue locks in app_jobs. External workers acquire and execute the tasks.

Core Workflow

CREATE EXTENSION "launchql-ext-jobs" CASCADE;
SELECT * FROM app_jobs.jobs LIMIT 10;
SELECT * FROM app_jobs.scheduled_jobs LIMIT 10;

Operational Boundaries

app_jobs.add_job takes a database UUID, task identifier and JSON payload. app_jobs.get_job, app_jobs.complete_job, app_jobs.fail_job and app_jobs.release_jobs coordinate ownership and retries. Make retryable jobs idempotent. This historical schema conflicts with pgpm-jobs and pgpm-database-jobs; do not co-install them. The SQL expects the matching default roles and JWT-claim integration.

Install its declared dependencies first: plpgsql, uuid-ossp, pgcrypto, launchql-ext-default-roles, launchql-jwt-claims. This is SQL/PLpgSQL code with no own shared library or preload. The control permits non-superuser installation but is not marked trusted; dependency and schema privileges still apply.

Table reader