pg_jsontailor
pg_jsontailor · Writable JSON document views with ETags over relational tables.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102323 | pg_jsontailor | pg_jsontailor | 0.2.0 | FEAT | PostgreSQL | PLpgSQL |
PostgreSQL · 17, 18
Usage
Sources:
pg_jsontailor development version 0.2.0 generates writable JSON views over relational tables with optimistic concurrency checks.
Core Workflow
jsontailor.duality_view_ddl returns the DDL for review before execution. The supported shape is one root table, an optional read-only many-to-one object and an optional writable one-to-many array. Updates replace complete documents and must present the preceding ETag; guarded deletion also checks that tag.
Operational Boundaries
This is an unreleased evaluation/controlled-pilot version for PostgreSQL 17–19, implemented in SQL and PL/pgSQL without preload. Generated access follows invoker privileges and row-level security; creating a view does not authorize broader table access. Generated DDL has no runtime extension dependency. It is not a complete Oracle duality-view or ORDS compatibility layer.