qgres
Simple queue system
Qgres · Simple queue system
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101738 | qgres | Qgres | 0.1.2 | FEAT | PostgreSQL | SQL |
Usage
Sources:
qgres — Simple queue system. Use it when an application needs this specific database capability. 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
consume(queue_id _queue.queue_id%TYPE , consumer_name _sp_consumer.consumer_name%TYPE , row_limit int DEFAULT 2^31-1)is an extension function and returnsTABLE.consume(queue_name _queue.queue_name%TYPE , consumer_name _sp_consumer.consumer_name%TYPE , row_limit int DEFAULT 2^31-1)is an extension function and returnsTABLE.consumer__drop(queue_name _queue.queue_name%TYPE , consumer_name _sp_consumer.consumer_name%TYPE)is an extension function and returnsvoid.consumer__register(queue_name _queue.queue_name%TYPE , consumer_name _sp_consumer.consumer_name%TYPE)is an extension function and returnsvoid.qgres_temp.build_add(first_arg text , call text , data_type regtype)is an extension function and returnsvoid.qgres_temp.build_publish(first_arg text , call text , data_type regtype)is an extension function and returnsvoid.qgres_temp.role__create(role_name name)is an extension function and returnsvoid.queue__drop(queue_name _queue.queue_name%TYPE , force boolean DEFAULT false)is an extension function and returnsvoid.queue__get(queue_id _queue.queue_id%TYPE)is an extension function and returnsqueue.queue__get(queue_name _queue.queue_name%TYPE)is an extension function and returnsqueue.queue__get_id(queue_name _queue.queue_name%TYPE)is an extension function and returnsint.queue_entry(bytea bytea DEFAULT NULL , jsonb jsonb DEFAULT NULL , text text DEFAULT NULL)is an extension function and returnsqueue_entry.queue_entryis an extension-defined type.queue_typeis an extension-defined type.
Requirements and Caveats
- The reviewed control file declares default version
0.1.2. - Install the confirmed extension dependencies first:
plpgsql,citext. - The control file marks the extension as 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.