pg_crdt_jsonb
Conflict-free replicated data type operations for PostgreSQL jsonb values.
pg_crdt_jsonb · Conflict-free replicated data type operations for PostgreSQL jsonb values.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101527 | pg_crdt_jsonb | pg_crdt_jsonb | 1.0 | TYPE | Unknown | C |
Usage
Sources:
- Official upstream README
- Official extension control file (pg_crdt_jsonb.control)
- Official extension SQL (pg_crdt_jsonb–1.0.sql)
pg_crdt_jsonb — For each element in the top-level array, its own Timestamp is created. Use it when application data needs this type, domain, or its operators. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
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
crdt_jsonb_append(crdt_jsonb, jsonb)is an extension function and returnscrdt_jsonb.crdt_jsonb_in(cstring)is an extension function and returnscrdt_jsonb.crdt_jsonb_out(crdt_jsonb)is an extension function and returnscstring.crdt_jsonb_recv(internal)is an extension function and returnscrdt_jsonb.crdt_jsonb_send(crdt_jsonb)is an extension function and returnsbytea.get_jsonb(crdt_jsonb)is an extension function and returnsjsonb.crdt_jsonbis an extension-defined type.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - The control file marks the extension as relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.