Thanks to visit codestin.com
Credit goes to pgext.cloud

documentdb

documentdb

documentdb : API surface for DocumentDB for PostgreSQL

Overview

ID Extension Package Version Category License Language
9000
documentdb
documentdb
0.109
SIM
MIT
C
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
--sLd--
No
Yes
Yes
Yes
no
no
Relationships
Requires
documentdb_core
pg_cron
tsm_system_rows
vector
postgis
rum
Need By
documentdb_distributed
See Also
mongo_fdw
wal2mongo
pg_jsonschema
jsquery
Siblings
documentdb_core
documentdb_distributed
documentdb_extended_rum

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT
PIGSTY
0.109
18
17
16
15
14
13
documentdb documentdb_core, pg_cron, tsm_system_rows, vector, postgis, rum
RPM
PIGSTY
0.109
18
17
16
15
14
13
documentdb_$v postgresql$v-contrib, pg_cron_$v, pgvector_$v, rum_$v
DEB
PIGSTY
0.109
18
17
16
15
14
13
postgresql-$v-documentdb postgresql-$v-cron, postgresql-$v-pgvector, postgresql-$v-rum
Linux / PG PG18 PG17 PG16 PG15 PG14 PG13
el8.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
MISS
el8.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
MISS
el9.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
MISS
el9.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
MISS
el10.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
MISS
el10.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
MISS
d12.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
MISS
d12.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
MISS
d13.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
MISS
d13.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
MISS
u22.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
MISS
u22.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
MISS
u24.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
MISS
u24.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
MISS
Package Version OS ORG SIZE File URL
documentdb_18 0.109 el8.x86_64 pigsty 2.8 MiB documentdb_18-0.109-0PIGSTY.el8.x86_64.rpm
documentdb_18 0.109 el8.aarch64 pigsty 2.6 MiB documentdb_18-0.109-0PIGSTY.el8.aarch64.rpm
documentdb_18 0.109 el9.x86_64 pigsty 2.8 MiB documentdb_18-0.109-0PIGSTY.el9.x86_64.rpm
documentdb_18 0.109 el9.aarch64 pigsty 2.7 MiB documentdb_18-0.109-0PIGSTY.el9.aarch64.rpm
documentdb_18 0.109 el10.x86_64 pigsty 2.6 MiB documentdb_18-0.109-0PIGSTY.el10.x86_64.rpm
documentdb_18 0.109 el10.aarch64 pigsty 2.6 MiB documentdb_18-0.109-0PIGSTY.el10.aarch64.rpm
postgresql-18-documentdb 0.109 d12.x86_64 pigsty 4.9 MiB postgresql-18-documentdb_0.109-0PIGSTY~bookworm_amd64.deb
postgresql-18-documentdb 0.109 d12.aarch64 pigsty 4.7 MiB postgresql-18-documentdb_0.109-0PIGSTY~bookworm_arm64.deb
postgresql-18-documentdb 0.109 d13.x86_64 pigsty 4.9 MiB postgresql-18-documentdb_0.109-0PIGSTY~trixie_amd64.deb
postgresql-18-documentdb 0.109 d13.aarch64 pigsty 4.8 MiB postgresql-18-documentdb_0.109-0PIGSTY~trixie_arm64.deb
postgresql-18-documentdb 0.109 u22.x86_64 pigsty 5.2 MiB postgresql-18-documentdb_0.109-0PIGSTY~jammy_amd64.deb
postgresql-18-documentdb 0.109 u22.aarch64 pigsty 5.1 MiB postgresql-18-documentdb_0.109-0PIGSTY~jammy_arm64.deb
postgresql-18-documentdb 0.109 u24.x86_64 pigsty 5.1 MiB postgresql-18-documentdb_0.109-0PIGSTY~noble_amd64.deb
postgresql-18-documentdb 0.109 u24.aarch64 pigsty 5.0 MiB postgresql-18-documentdb_0.109-0PIGSTY~noble_arm64.deb
Package Version OS ORG SIZE File URL
documentdb_17 0.109 el8.x86_64 pigsty 2.8 MiB documentdb_17-0.109-0PIGSTY.el8.x86_64.rpm
documentdb_17 0.107 el8.x86_64 pigsty 2.8 MiB documentdb_17-0.107-0PIGSTY.el8.x86_64.rpm
documentdb_17 0.109 el8.aarch64 pigsty 2.6 MiB documentdb_17-0.109-0PIGSTY.el8.aarch64.rpm
documentdb_17 0.107 el8.aarch64 pigsty 2.7 MiB documentdb_17-0.107-0PIGSTY.el8.aarch64.rpm
documentdb_17 0.109 el9.x86_64 pigsty 2.8 MiB documentdb_17-0.109-0PIGSTY.el9.x86_64.rpm
documentdb_17 0.107 el9.x86_64 pigsty 2.7 MiB documentdb_17-0.107-0PIGSTY.el9.x86_64.rpm
documentdb_17 0.109 el9.aarch64 pigsty 2.7 MiB documentdb_17-0.109-0PIGSTY.el9.aarch64.rpm
documentdb_17 0.107 el9.aarch64 pigsty 2.6 MiB documentdb_17-0.107-0PIGSTY.el9.aarch64.rpm
documentdb_17 0.109 el10.x86_64 pigsty 2.6 MiB documentdb_17-0.109-0PIGSTY.el10.x86_64.rpm
documentdb_17 0.107 el10.x86_64 pigsty 2.7 MiB documentdb_17-0.107-0PIGSTY.el10.x86_64.rpm
documentdb_17 0.109 el10.aarch64 pigsty 2.6 MiB documentdb_17-0.109-0PIGSTY.el10.aarch64.rpm
documentdb_17 0.107 el10.aarch64 pigsty 2.7 MiB documentdb_17-0.107-0PIGSTY.el10.aarch64.rpm
postgresql-17-documentdb 0.109 d12.x86_64 pigsty 4.9 MiB postgresql-17-documentdb_0.109-0PIGSTY~bookworm_amd64.deb
postgresql-17-documentdb 0.109 d12.aarch64 pigsty 4.7 MiB postgresql-17-documentdb_0.109-0PIGSTY~bookworm_arm64.deb
postgresql-17-documentdb 0.109 d13.x86_64 pigsty 4.9 MiB postgresql-17-documentdb_0.109-0PIGSTY~trixie_amd64.deb
postgresql-17-documentdb 0.109 d13.aarch64 pigsty 4.8 MiB postgresql-17-documentdb_0.109-0PIGSTY~trixie_arm64.deb
postgresql-17-documentdb 0.109 u22.x86_64 pigsty 5.6 MiB postgresql-17-documentdb_0.109-0PIGSTY~jammy_amd64.deb
postgresql-17-documentdb 0.109 u22.aarch64 pigsty 5.5 MiB postgresql-17-documentdb_0.109-0PIGSTY~jammy_arm64.deb
postgresql-17-documentdb 0.109 u24.x86_64 pigsty 5.1 MiB postgresql-17-documentdb_0.109-0PIGSTY~noble_amd64.deb
postgresql-17-documentdb 0.109 u24.aarch64 pigsty 5.0 MiB postgresql-17-documentdb_0.109-0PIGSTY~noble_arm64.deb
Package Version OS ORG SIZE File URL
documentdb_16 0.109 el8.x86_64 pigsty 2.8 MiB documentdb_16-0.109-0PIGSTY.el8.x86_64.rpm
documentdb_16 0.107 el8.x86_64 pigsty 2.8 MiB documentdb_16-0.107-0PIGSTY.el8.x86_64.rpm
documentdb_16 0.109 el8.aarch64 pigsty 2.6 MiB documentdb_16-0.109-0PIGSTY.el8.aarch64.rpm
documentdb_16 0.107 el8.aarch64 pigsty 2.7 MiB documentdb_16-0.107-0PIGSTY.el8.aarch64.rpm
documentdb_16 0.109 el9.x86_64 pigsty 2.8 MiB documentdb_16-0.109-0PIGSTY.el9.x86_64.rpm
documentdb_16 0.107 el9.x86_64 pigsty 2.7 MiB documentdb_16-0.107-0PIGSTY.el9.x86_64.rpm
documentdb_16 0.109 el9.aarch64 pigsty 2.7 MiB documentdb_16-0.109-0PIGSTY.el9.aarch64.rpm
documentdb_16 0.107 el9.aarch64 pigsty 2.6 MiB documentdb_16-0.107-0PIGSTY.el9.aarch64.rpm
documentdb_16 0.109 el10.x86_64 pigsty 2.6 MiB documentdb_16-0.109-0PIGSTY.el10.x86_64.rpm
documentdb_16 0.107 el10.x86_64 pigsty 2.7 MiB documentdb_16-0.107-0PIGSTY.el10.x86_64.rpm
documentdb_16 0.109 el10.aarch64 pigsty 2.6 MiB documentdb_16-0.109-0PIGSTY.el10.aarch64.rpm
documentdb_16 0.107 el10.aarch64 pigsty 2.6 MiB documentdb_16-0.107-0PIGSTY.el10.aarch64.rpm
postgresql-16-documentdb 0.109 d12.x86_64 pigsty 4.9 MiB postgresql-16-documentdb_0.109-0PIGSTY~bookworm_amd64.deb
postgresql-16-documentdb 0.109 d12.aarch64 pigsty 4.7 MiB postgresql-16-documentdb_0.109-0PIGSTY~bookworm_arm64.deb
postgresql-16-documentdb 0.109 d13.x86_64 pigsty 4.9 MiB postgresql-16-documentdb_0.109-0PIGSTY~trixie_amd64.deb
postgresql-16-documentdb 0.109 d13.aarch64 pigsty 4.8 MiB postgresql-16-documentdb_0.109-0PIGSTY~trixie_arm64.deb
postgresql-16-documentdb 0.109 u22.x86_64 pigsty 5.6 MiB postgresql-16-documentdb_0.109-0PIGSTY~jammy_amd64.deb
postgresql-16-documentdb 0.109 u22.aarch64 pigsty 5.5 MiB postgresql-16-documentdb_0.109-0PIGSTY~jammy_arm64.deb
postgresql-16-documentdb 0.109 u24.x86_64 pigsty 5.1 MiB postgresql-16-documentdb_0.109-0PIGSTY~noble_amd64.deb
postgresql-16-documentdb 0.109 u24.aarch64 pigsty 5.0 MiB postgresql-16-documentdb_0.109-0PIGSTY~noble_arm64.deb
Package Version OS ORG SIZE File URL
documentdb_15 0.107 el8.x86_64 pigsty 2.9 MiB documentdb_15-0.107-0PIGSTY.el8.x86_64.rpm
documentdb_15 0.107 el8.aarch64 pigsty 2.7 MiB documentdb_15-0.107-0PIGSTY.el8.aarch64.rpm
documentdb_15 0.107 el9.x86_64 pigsty 2.7 MiB documentdb_15-0.107-0PIGSTY.el9.x86_64.rpm
documentdb_15 0.107 el9.aarch64 pigsty 2.6 MiB documentdb_15-0.107-0PIGSTY.el9.aarch64.rpm
documentdb_15 0.107 el10.x86_64 pigsty 2.7 MiB documentdb_15-0.107-0PIGSTY.el10.x86_64.rpm
documentdb_15 0.107 el10.aarch64 pigsty 2.6 MiB documentdb_15-0.107-0PIGSTY.el10.aarch64.rpm
postgresql-15-documentdb 0.109 d12.x86_64 pigsty 5.0 MiB postgresql-15-documentdb_0.109-0PIGSTY~bookworm_amd64.deb
postgresql-15-documentdb 0.109 d12.aarch64 pigsty 4.8 MiB postgresql-15-documentdb_0.109-0PIGSTY~bookworm_arm64.deb
postgresql-15-documentdb 0.109 d13.x86_64 pigsty 5.0 MiB postgresql-15-documentdb_0.109-0PIGSTY~trixie_amd64.deb
postgresql-15-documentdb 0.109 d13.aarch64 pigsty 4.8 MiB postgresql-15-documentdb_0.109-0PIGSTY~trixie_arm64.deb
postgresql-15-documentdb 0.109 u22.x86_64 pigsty 5.7 MiB postgresql-15-documentdb_0.109-0PIGSTY~jammy_amd64.deb
postgresql-15-documentdb 0.109 u22.aarch64 pigsty 5.5 MiB postgresql-15-documentdb_0.109-0PIGSTY~jammy_arm64.deb
postgresql-15-documentdb 0.109 u24.x86_64 pigsty 5.2 MiB postgresql-15-documentdb_0.109-0PIGSTY~noble_amd64.deb
postgresql-15-documentdb 0.109 u24.aarch64 pigsty 5.1 MiB postgresql-15-documentdb_0.109-0PIGSTY~noble_arm64.deb

Source

pig build pkg documentdb;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install documentdb;		# install via package name, for the active PG version

pig install documentdb -v 18;   # install for PG 18
pig install documentdb -v 17;   # install for PG 17
pig install documentdb -v 16;   # install for PG 16
pig install documentdb -v 15;   # install for PG 15

Config this extension to shared_preload_libraries:

shared_preload_libraries = 'pg_documentdb, pg_documentdb_core, pg_cron';

Create this extension with:

CREATE EXTENSION documentdb CASCADE; -- requires documentdb_core, pg_cron, tsm_system_rows, vector, postgis, rum

Usage

Add to shared_preload_libraries first:

-    shared_preload_libraries: documentdb_core, pg_stat_statements, auto_explain
+    shared_preload_libraries: pg_documentdb_core, pg_stat_statements, auto_explain

Example, create extension and perform DDL & CRUD

CREATE EXTENSION documentdb_core ;

Currently we only have documentdb_core extension, It can be used with the FerretDB 2.0+

Last updated on