ulak
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
ulak | 0.3.0 | FEAT | Apache-2.0 | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 2680 | ulak | No | Yes | Yes | Yes | No | No | ulak |
| Related | pgmq pgmb pg_durable redis pgq pgmqtt pg_task tcn pg_background fsm_core |
|---|
preload required; rm README from RPM/DEB
Version
| OS / PG | PG19 | PG18 | PG17 | PG16 | PG15 |
|---|---|---|---|---|---|
| el8.x86_64 | N/A | PIGSTY 0.3.0 el8.x86_64.pg18 : ulak_18 ulak_18-0.3.0-1PGSTY.el8.x86_64.rpm
| PIGSTY 0.3.0 el8.x86_64.pg17 : ulak_17 ulak_17-0.3.0-1PGSTY.el8.x86_64.rpm
| PIGSTY 0.3.0 el8.x86_64.pg16 : ulak_16 ulak_16-0.3.0-1PGSTY.el8.x86_64.rpm
| PIGSTY 0.3.0 el8.x86_64.pg15 : ulak_15 ulak_15-0.3.0-1PGSTY.el8.x86_64.rpm
|
| el8.aarch64 | N/A | PIGSTY 0.3.0 el8.aarch64.pg18 : ulak_18 ulak_18-0.3.0-1PGSTY.el8.aarch64.rpm
| PIGSTY 0.3.0 el8.aarch64.pg17 : ulak_17 ulak_17-0.3.0-1PGSTY.el8.aarch64.rpm
| PIGSTY 0.3.0 el8.aarch64.pg16 : ulak_16 ulak_16-0.3.0-1PGSTY.el8.aarch64.rpm
| PIGSTY 0.3.0 el8.aarch64.pg15 : ulak_15 ulak_15-0.3.0-1PGSTY.el8.aarch64.rpm
|
| el9.x86_64 | PIGSTY 0.3.0 el9.x86_64.pg19 : ulak_19 ulak_19-0.3.0-1PGSTY.el9.x86_64.rpm
| PIGSTY 0.3.0 el9.x86_64.pg18 : ulak_18 ulak_18-0.3.0-1PGSTY.el9.x86_64.rpm
| PIGSTY 0.3.0 el9.x86_64.pg17 : ulak_17 ulak_17-0.3.0-1PGSTY.el9.x86_64.rpm
| PIGSTY 0.3.0 el9.x86_64.pg16 : ulak_16 ulak_16-0.3.0-1PGSTY.el9.x86_64.rpm
| PIGSTY 0.3.0 el9.x86_64.pg15 : ulak_15 ulak_15-0.3.0-1PGSTY.el9.x86_64.rpm
|
| el9.aarch64 | PIGSTY 0.3.0 el9.aarch64.pg19 : ulak_19 ulak_19-0.3.0-1PGSTY.el9.aarch64.rpm
| PIGSTY 0.3.0 el9.aarch64.pg18 : ulak_18 ulak_18-0.3.0-1PGSTY.el9.aarch64.rpm
| PIGSTY 0.3.0 el9.aarch64.pg17 : ulak_17 ulak_17-0.3.0-1PGSTY.el9.aarch64.rpm
| PIGSTY 0.3.0 el9.aarch64.pg16 : ulak_16 ulak_16-0.3.0-1PGSTY.el9.aarch64.rpm
| PIGSTY 0.3.0 el9.aarch64.pg15 : ulak_15 ulak_15-0.3.0-1PGSTY.el9.aarch64.rpm
|
| el10.x86_64 | PIGSTY 0.3.0 el10.x86_64.pg19 : ulak_19 ulak_19-0.3.0-1PGSTY.el10.x86_64.rpm
| PIGSTY 0.3.0 el10.x86_64.pg18 : ulak_18 ulak_18-0.3.0-1PGSTY.el10.x86_64.rpm
| PIGSTY 0.3.0 el10.x86_64.pg17 : ulak_17 ulak_17-0.3.0-1PGSTY.el10.x86_64.rpm
| PIGSTY 0.3.0 el10.x86_64.pg16 : ulak_16 ulak_16-0.3.0-1PGSTY.el10.x86_64.rpm
| PIGSTY 0.3.0 el10.x86_64.pg15 : ulak_15 ulak_15-0.3.0-1PGSTY.el10.x86_64.rpm
|
| el10.aarch64 | PIGSTY 0.3.0 el10.aarch64.pg19 : ulak_19 ulak_19-0.3.0-1PGSTY.el10.aarch64.rpm
| PIGSTY 0.3.0 el10.aarch64.pg18 : ulak_18 ulak_18-0.3.0-1PGSTY.el10.aarch64.rpm
| PIGSTY 0.3.0 el10.aarch64.pg17 : ulak_17 ulak_17-0.3.0-1PGSTY.el10.aarch64.rpm
| PIGSTY 0.3.0 el10.aarch64.pg16 : ulak_16 ulak_16-0.3.0-1PGSTY.el10.aarch64.rpm
| PIGSTY 0.3.0 el10.aarch64.pg15 : ulak_15 ulak_15-0.3.0-1PGSTY.el10.aarch64.rpm
|
| d12.x86_64 | PIGSTY 0.3.0 d12.x86_64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~bookworm_amd64.deb
| PIGSTY 0.3.0 d12.x86_64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~bookworm_amd64.deb
| PIGSTY 0.3.0 d12.x86_64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~bookworm_amd64.deb
| PIGSTY 0.3.0 d12.x86_64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~bookworm_amd64.deb
| PIGSTY 0.3.0 d12.x86_64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~bookworm_amd64.deb
|
| d12.aarch64 | PIGSTY 0.3.0 d12.aarch64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~bookworm_arm64.deb
| PIGSTY 0.3.0 d12.aarch64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~bookworm_arm64.deb
| PIGSTY 0.3.0 d12.aarch64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~bookworm_arm64.deb
| PIGSTY 0.3.0 d12.aarch64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~bookworm_arm64.deb
| PIGSTY 0.3.0 d12.aarch64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~bookworm_arm64.deb
|
| d13.x86_64 | PIGSTY 0.3.0 d13.x86_64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~trixie_amd64.deb
| PIGSTY 0.3.0 d13.x86_64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~trixie_amd64.deb
| PIGSTY 0.3.0 d13.x86_64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~trixie_amd64.deb
| PIGSTY 0.3.0 d13.x86_64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~trixie_amd64.deb
| PIGSTY 0.3.0 d13.x86_64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~trixie_amd64.deb
|
| d13.aarch64 | PIGSTY 0.3.0 d13.aarch64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~trixie_arm64.deb
| PIGSTY 0.3.0 d13.aarch64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~trixie_arm64.deb
| PIGSTY 0.3.0 d13.aarch64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~trixie_arm64.deb
| PIGSTY 0.3.0 d13.aarch64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~trixie_arm64.deb
| PIGSTY 0.3.0 d13.aarch64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~trixie_arm64.deb
|
| u22.x86_64 | PIGSTY 0.3.0 u22.x86_64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~jammy_amd64.deb
| PIGSTY 0.3.0 u22.x86_64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~jammy_amd64.deb
| PIGSTY 0.3.0 u22.x86_64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~jammy_amd64.deb
| PIGSTY 0.3.0 u22.x86_64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~jammy_amd64.deb
| PIGSTY 0.3.0 u22.x86_64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~jammy_amd64.deb
|
| u22.aarch64 | PIGSTY 0.3.0 u22.aarch64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~jammy_arm64.deb
| PIGSTY 0.3.0 u22.aarch64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~jammy_arm64.deb
| PIGSTY 0.3.0 u22.aarch64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~jammy_arm64.deb
| PIGSTY 0.3.0 u22.aarch64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~jammy_arm64.deb
| PIGSTY 0.3.0 u22.aarch64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~jammy_arm64.deb
|
| u24.x86_64 | PIGSTY 0.3.0 u24.x86_64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~noble_amd64.deb
| PIGSTY 0.3.0 u24.x86_64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~noble_amd64.deb
| PIGSTY 0.3.0 u24.x86_64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~noble_amd64.deb
| PIGSTY 0.3.0 u24.x86_64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~noble_amd64.deb
| PIGSTY 0.3.0 u24.x86_64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~noble_amd64.deb
|
| u24.aarch64 | PIGSTY 0.3.0 u24.aarch64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~noble_arm64.deb
| PIGSTY 0.3.0 u24.aarch64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~noble_arm64.deb
| PIGSTY 0.3.0 u24.aarch64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~noble_arm64.deb
| PIGSTY 0.3.0 u24.aarch64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~noble_arm64.deb
| PIGSTY 0.3.0 u24.aarch64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~noble_arm64.deb
|
| u26.x86_64 | PIGSTY 0.3.0 u26.x86_64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~resolute_amd64.deb
| PIGSTY 0.3.0 u26.x86_64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~resolute_amd64.deb
| PIGSTY 0.3.0 u26.x86_64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~resolute_amd64.deb
| PIGSTY 0.3.0 u26.x86_64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~resolute_amd64.deb
| PIGSTY 0.3.0 u26.x86_64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~resolute_amd64.deb
|
| u26.aarch64 | PIGSTY 0.3.0 u26.aarch64.pg19 : postgresql-19-ulak postgresql-19-ulak_0.3.0-1PGSTY~resolute_arm64.deb
| PIGSTY 0.3.0 u26.aarch64.pg18 : postgresql-18-ulak postgresql-18-ulak_0.3.0-1PGSTY~resolute_arm64.deb
| PIGSTY 0.3.0 u26.aarch64.pg17 : postgresql-17-ulak postgresql-17-ulak_0.3.0-1PGSTY~resolute_arm64.deb
| PIGSTY 0.3.0 u26.aarch64.pg16 : postgresql-16-ulak postgresql-16-ulak_0.3.0-1PGSTY~resolute_arm64.deb
| PIGSTY 0.3.0 u26.aarch64.pg15 : postgresql-15-ulak postgresql-15-ulak_0.3.0-1PGSTY~resolute_arm64.deb
|
Build
You can build the RPM / DEB packages for ulak using pig build:
Install
You can install ulak directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Preload:
Create Extension:
Usage
Sources:
ulak implements a transactional outbox: enqueue messages in the same transaction as application data, then deliver them through background workers. Delivery to remote systems is at least once; consumers must tolerate duplicates.
Enablement
PostgreSQL 14–18 is supported. Set shared_preload_libraries and ulak.database, restart PostgreSQL, then create the extension in that database. HTTP is built in; Kafka, MQTT, Redis Streams, AMQP and NATS require their optional compiled adapters and client libraries.
Enqueue and publish
Create endpoints as an administrator; grant application access through ulak_application. ulak_admin manages endpoints and operations; ulak_monitor reads monitoring data. Use ulak.endpoint_status for endpoint status without exposing endpoint credentials. A rolled-back transaction leaves no message.
Delivery limits and retries
ulak.send_with_options adds priority, scheduling, idempotency, expiry and ordering controls. In 0.3.0 all enqueue APIs enforce ulak.max_payload_size; oversized payloads raise 54000. Batch APIs count each row against ulak.max_queue_size and raise 53400 on overflow. Stale processing rows consume retry budget and eventually enter the dead-letter queue. Workers use synchronous_commit = local and lock_timeout = 10s.
Protocol and upgrade changes
0.3.0 retries HTTP 408/425, Redis OOM/READONLY and unroutable mandatory AMQP messages. Redis TLS now checks hostnames. ulak.mqtt_default_qos defaults to 1; multiple workers suffix configured MQTT client IDs with their worker number. NATS message IDs include cluster and database identity; AMQP message IDs use the queue row ID. Review downstream deduplication assumptions. Install the matching library and SQL, restart to load the worker library, and upgrade the extension. External listeners need ulak.wake_notify = on to receive ulak_new_msg; native workers use shared-memory wakeups.
Monitoring and recovery
Tune ulak.workers, ulak.poll_interval, ulak.batch_size, retry and circuit-breaker settings for the workload. Inspect failures before redriving; redrive and replay can deliver an already-observed message again. HTTP SSRF restrictions apply unless explicitly relaxed.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)