lolor
Logical-replication-friendly replacement for PostgreSQL large objects
lolor : Logical-replication-friendly replacement for PostgreSQL large objects
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 9580 | lolor | lolor | 1.2.2 |
ETL | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-dt- | No | Yes | No | Yes | no | yes |
| Relationships | |
|---|---|
| Schemas | lolor |
| See Also | lo pglogical spock mimeo pgl_ddl_deploy logical_ddl pg_surgery pg_repack |
works on pgedge kernel fork. Requires lolor.node
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.2.2 |
18 17 16 15 14 | lolor |
- |
| RPM | PIGSTY | 18.4 |
18 17 16 15 14 | pgedge-$v |
- |
| DEB | PIGSTY | 18.4 |
18 17 16 15 14 | pgedge-$v |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| el8.aarch64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| el9.x86_64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| el9.aarch64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| el10.x86_64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| el10.aarch64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| d12.x86_64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| d12.aarch64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| d13.x86_64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| d13.aarch64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| u22.x86_64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| u22.aarch64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| u24.x86_64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| u24.aarch64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| u26.x86_64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
| u26.aarch64 | PIGSTY 18.4 | PIGSTY 17.10 | PIGSTY 16.14 | PIGSTY 15.18 | N/A |
Source
github.com/pgEdge/lolor
lolor-1.2.2.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
lolor: Logical-replication-friendly replacement for PostgreSQL large objects
Makes PostgreSQL large objects compatible with logical replication by storing them in non-catalog tables.
Enabling
Configure the node identifier in postgresql.conf:
Optionally adjust the search path:
Large Object Operations
Once installed, the standard lo_* functions are redirected to use lolor’s tables:
Replication Setup
Add lolor tables to your replication set:
Internal Tables
The extension manages large objects in:
lolor.pg_largeobject- stores object data chunkslolor.pg_largeobject_metadata- stores object metadata
Limitations
- Native PostgreSQL large object functionality cannot be used while lolor is active
- Migration of existing native large objects to lolor is not supported
ALTER LARGE OBJECT,GRANT ON LARGE OBJECT,COMMENT ON LARGE OBJECT, andREVOKE ON LARGE OBJECTare not supported- Requires PostgreSQL 16 or newer