omni_txn
Transaction management
omnigres : Transaction management
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 2971 | omni_txn | omnigres | 0.5.0 |
FEAT | Apache-2.0 | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-- | No | Yes | No | Yes | no | no |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.5.0 |
19 18 17 16 15 | omnigres |
- |
| RPM | PIGSTY | 20260212 |
19 18 17 16 15 | omnigres_$v |
postgresql$v-contrib, postgresql$v-plpython3, python3-pip |
| DEB | PIGSTY | 20260212 |
19 18 17 16 15 | postgresql-$v-omnigres |
postgresql-plpython3-$v, python3-pip |
| Linux / PG | PG19 | PG18 | PG17 | PG16 | PG15 |
|---|---|---|---|---|---|
| el8.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el8.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el9.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el9.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el10.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el10.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| d12.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| d12.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| d13.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| d13.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u22.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u22.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u24.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u24.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u26.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u26.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
Source
docs.omnigres.org/omni_txn/linearize/
omnigres-20260212.tar.gz wheel-0.45.1-py3-none-any.whl
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
The omni_txn extension provides transaction linearization for stronger consistency guarantees beyond standard PostgreSQL isolation levels.
Enable Linearization
Check Linearization Status
Behavior
Linearizability ensures every operation appears to take place atomically in an order consistent with real-time ordering. The extension intercepts mutating statements (INSERT, UPDATE, DELETE, MERGE) and enforces:
- Write-after-read conflict detection across serializable linearized transactions
- Commit-after-read conflict detection
- Snapshot conflict detection
Raises serialization error exceptions when conflicts are detected. False positives are possible; use with retry mechanisms (compatible with omni_txn.retry).