documentdb

documentdb

documentdb : API surface for DocumentDB for PostgreSQL

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
9000
documentdb
documentdb
0.109
SIM
MIT
C
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--sLd--
No
Yes
Yes
Yes
no
no
Relationships
Requires
documentdb_core
pg_cron
postgis
tsm_system_rows
vector
Need By
documentdb_distributed
See Also
mongo_fdw
wal2mongo
pg_jsonschema
jsquery
Siblings
documentdb_core
documentdb_distributed
documentdb_extended_rum

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXT
PIGSTY
0.109
18
17
16
15
14
documentdbdocumentdb_core, pg_cron, postgis, tsm_system_rows, vector
RPM
PIGSTY
0.109
18
17
16
15
14
documentdb_$vpostgresql$v-contrib, pg_cron_$v, pgvector_$v, rum_$v
DEB
PIGSTY
0.109
18
17
16
15
14
postgresql-$v-documentdbpostgresql-$v-cron, postgresql-$v-pgvector, postgresql-$v-rum
Linux / PGPG18PG17PG16PG15PG14
el8.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el8.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el9.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el9.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el10.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el10.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
d12.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
d12.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
d13.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
d13.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
u22.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
u22.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
u24.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
u24.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
PackageVersionOSORGSIZEFile URL
documentdb_180.109el8.x86_64pigsty2.8 MiBdocumentdb_18-0.109-0PIGSTY.el8.x86_64.rpm
documentdb_180.109el8.aarch64pigsty2.6 MiBdocumentdb_18-0.109-0PIGSTY.el8.aarch64.rpm
documentdb_180.109el9.x86_64pigsty2.8 MiBdocumentdb_18-0.109-0PIGSTY.el9.x86_64.rpm
documentdb_180.109el9.aarch64pigsty2.7 MiBdocumentdb_18-0.109-0PIGSTY.el9.aarch64.rpm
documentdb_180.109el10.x86_64pigsty2.6 MiBdocumentdb_18-0.109-0PIGSTY.el10.x86_64.rpm
documentdb_180.109el10.aarch64pigsty2.6 MiBdocumentdb_18-0.109-0PIGSTY.el10.aarch64.rpm
postgresql-18-documentdb0.109d12.x86_64pigsty4.9 MiBpostgresql-18-documentdb_0.109-0PIGSTY~bookworm_amd64.deb
postgresql-18-documentdb0.109d12.aarch64pigsty4.7 MiBpostgresql-18-documentdb_0.109-0PIGSTY~bookworm_arm64.deb
postgresql-18-documentdb0.109d13.x86_64pigsty4.9 MiBpostgresql-18-documentdb_0.109-0PIGSTY~trixie_amd64.deb
postgresql-18-documentdb0.108d13.x86_64pgdg4.6 MiBpostgresql-18-documentdb_0.108-0-1.pgdg13+1_amd64.deb
postgresql-18-documentdb0.109d13.aarch64pigsty4.8 MiBpostgresql-18-documentdb_0.109-0PIGSTY~trixie_arm64.deb
postgresql-18-documentdb0.108d13.aarch64pgdg4.4 MiBpostgresql-18-documentdb_0.108-0-1.pgdg13+1_arm64.deb
postgresql-18-documentdb0.109u22.x86_64pigsty5.2 MiBpostgresql-18-documentdb_0.109-0PIGSTY~jammy_amd64.deb
postgresql-18-documentdb0.109u22.aarch64pigsty5.1 MiBpostgresql-18-documentdb_0.109-0PIGSTY~jammy_arm64.deb
postgresql-18-documentdb0.109u24.x86_64pigsty5.1 MiBpostgresql-18-documentdb_0.109-0PIGSTY~noble_amd64.deb
postgresql-18-documentdb0.109u24.aarch64pigsty5.0 MiBpostgresql-18-documentdb_0.109-0PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
documentdb_170.109el8.x86_64pigsty2.8 MiBdocumentdb_17-0.109-0PIGSTY.el8.x86_64.rpm
documentdb_170.109el8.aarch64pigsty2.6 MiBdocumentdb_17-0.109-0PIGSTY.el8.aarch64.rpm
documentdb_170.109el9.x86_64pigsty2.8 MiBdocumentdb_17-0.109-0PIGSTY.el9.x86_64.rpm
documentdb_170.109el9.aarch64pigsty2.7 MiBdocumentdb_17-0.109-0PIGSTY.el9.aarch64.rpm
documentdb_170.109el10.x86_64pigsty2.6 MiBdocumentdb_17-0.109-0PIGSTY.el10.x86_64.rpm
documentdb_170.109el10.aarch64pigsty2.6 MiBdocumentdb_17-0.109-0PIGSTY.el10.aarch64.rpm
postgresql-17-documentdb0.109d12.x86_64pigsty4.9 MiBpostgresql-17-documentdb_0.109-0PIGSTY~bookworm_amd64.deb
postgresql-17-documentdb0.109d12.aarch64pigsty4.7 MiBpostgresql-17-documentdb_0.109-0PIGSTY~bookworm_arm64.deb
postgresql-17-documentdb0.109d13.x86_64pigsty4.9 MiBpostgresql-17-documentdb_0.109-0PIGSTY~trixie_amd64.deb
postgresql-17-documentdb0.108d13.x86_64pgdg4.6 MiBpostgresql-17-documentdb_0.108-0-1.pgdg13+1_amd64.deb
postgresql-17-documentdb0.109d13.aarch64pigsty4.8 MiBpostgresql-17-documentdb_0.109-0PIGSTY~trixie_arm64.deb
postgresql-17-documentdb0.108d13.aarch64pgdg4.4 MiBpostgresql-17-documentdb_0.108-0-1.pgdg13+1_arm64.deb
postgresql-17-documentdb0.109u22.x86_64pigsty5.6 MiBpostgresql-17-documentdb_0.109-0PIGSTY~jammy_amd64.deb
postgresql-17-documentdb0.109u22.aarch64pigsty5.5 MiBpostgresql-17-documentdb_0.109-0PIGSTY~jammy_arm64.deb
postgresql-17-documentdb0.109u24.x86_64pigsty5.1 MiBpostgresql-17-documentdb_0.109-0PIGSTY~noble_amd64.deb
postgresql-17-documentdb0.109u24.aarch64pigsty5.0 MiBpostgresql-17-documentdb_0.109-0PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
documentdb_160.109el8.x86_64pigsty2.8 MiBdocumentdb_16-0.109-0PIGSTY.el8.x86_64.rpm
documentdb_160.109el8.aarch64pigsty2.6 MiBdocumentdb_16-0.109-0PIGSTY.el8.aarch64.rpm
documentdb_160.109el9.x86_64pigsty2.8 MiBdocumentdb_16-0.109-0PIGSTY.el9.x86_64.rpm
documentdb_160.109el9.aarch64pigsty2.7 MiBdocumentdb_16-0.109-0PIGSTY.el9.aarch64.rpm
documentdb_160.109el10.x86_64pigsty2.6 MiBdocumentdb_16-0.109-0PIGSTY.el10.x86_64.rpm
documentdb_160.109el10.aarch64pigsty2.6 MiBdocumentdb_16-0.109-0PIGSTY.el10.aarch64.rpm
postgresql-16-documentdb0.109d12.x86_64pigsty4.9 MiBpostgresql-16-documentdb_0.109-0PIGSTY~bookworm_amd64.deb
postgresql-16-documentdb0.109d12.aarch64pigsty4.7 MiBpostgresql-16-documentdb_0.109-0PIGSTY~bookworm_arm64.deb
postgresql-16-documentdb0.109d13.x86_64pigsty4.9 MiBpostgresql-16-documentdb_0.109-0PIGSTY~trixie_amd64.deb
postgresql-16-documentdb0.108d13.x86_64pgdg4.6 MiBpostgresql-16-documentdb_0.108-0-1.pgdg13+1_amd64.deb
postgresql-16-documentdb0.109d13.aarch64pigsty4.8 MiBpostgresql-16-documentdb_0.109-0PIGSTY~trixie_arm64.deb
postgresql-16-documentdb0.108d13.aarch64pgdg4.4 MiBpostgresql-16-documentdb_0.108-0-1.pgdg13+1_arm64.deb
postgresql-16-documentdb0.109u22.x86_64pigsty5.6 MiBpostgresql-16-documentdb_0.109-0PIGSTY~jammy_amd64.deb
postgresql-16-documentdb0.109u22.aarch64pigsty5.5 MiBpostgresql-16-documentdb_0.109-0PIGSTY~jammy_arm64.deb
postgresql-16-documentdb0.109u24.x86_64pigsty5.1 MiBpostgresql-16-documentdb_0.109-0PIGSTY~noble_amd64.deb
postgresql-16-documentdb0.109u24.aarch64pigsty5.0 MiBpostgresql-16-documentdb_0.109-0PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
documentdb_150.107el8.x86_64pigsty2.9 MiBdocumentdb_15-0.107-0PIGSTY.el8.x86_64.rpm
documentdb_150.107el8.aarch64pigsty2.7 MiBdocumentdb_15-0.107-0PIGSTY.el8.aarch64.rpm
documentdb_150.107el9.x86_64pigsty2.7 MiBdocumentdb_15-0.107-0PIGSTY.el9.x86_64.rpm
documentdb_150.107el9.aarch64pigsty2.6 MiBdocumentdb_15-0.107-0PIGSTY.el9.aarch64.rpm
documentdb_150.107el10.x86_64pigsty2.7 MiBdocumentdb_15-0.107-0PIGSTY.el10.x86_64.rpm
documentdb_150.107el10.aarch64pigsty2.6 MiBdocumentdb_15-0.107-0PIGSTY.el10.aarch64.rpm
postgresql-15-documentdb0.109d12.x86_64pigsty5.0 MiBpostgresql-15-documentdb_0.109-0PIGSTY~bookworm_amd64.deb
postgresql-15-documentdb0.109d12.aarch64pigsty4.8 MiBpostgresql-15-documentdb_0.109-0PIGSTY~bookworm_arm64.deb
postgresql-15-documentdb0.109d13.x86_64pigsty5.0 MiBpostgresql-15-documentdb_0.109-0PIGSTY~trixie_amd64.deb
postgresql-15-documentdb0.108d13.x86_64pgdg4.6 MiBpostgresql-15-documentdb_0.108-0-1.pgdg13+1_amd64.deb
postgresql-15-documentdb0.109d13.aarch64pigsty4.8 MiBpostgresql-15-documentdb_0.109-0PIGSTY~trixie_arm64.deb
postgresql-15-documentdb0.108d13.aarch64pgdg4.5 MiBpostgresql-15-documentdb_0.108-0-1.pgdg13+1_arm64.deb
postgresql-15-documentdb0.109u22.x86_64pigsty5.7 MiBpostgresql-15-documentdb_0.109-0PIGSTY~jammy_amd64.deb
postgresql-15-documentdb0.109u22.aarch64pigsty5.5 MiBpostgresql-15-documentdb_0.109-0PIGSTY~jammy_arm64.deb
postgresql-15-documentdb0.109u24.x86_64pigsty5.2 MiBpostgresql-15-documentdb_0.109-0PIGSTY~noble_amd64.deb
postgresql-15-documentdb0.109u24.aarch64pigsty5.1 MiBpostgresql-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, postgis, tsm_system_rows, vector

Usage

Add to shared_preload_libraries first:

shared_preload_libraries = 'pg_documentdb_core, pg_stat_statements, auto_explain'

Example, create extension and perform DDL & CRUD

-- CASCADE will install documentdb_core, pg_cron, vector, etc.
CREATE EXTENSION IF NOT EXISTS documentdb CASCADE;

Currently, DocumentDB can be used with FerretDB 2.0+ as a MongoDB-compatible backend.

Last updated on