documentdb

documentdb

API surface for DocumentDB for PostgreSQL

Overview

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

FerretDB Fork, work with FerretDB 2.5

Packages

TypeRepoVersionPG Major AvailabilityPackage PatternDependencies
EL
PIGSTY
0.106
18
17
16
15
14
13
documentdb_$v*postgresql$v-contrib, pg_cron_$v, pgvector_$v, rum_$v
Debian
PIGSTY
0.106
18
17
16
15
14
13
postgresql-$v-documentdbpostgresql-$v-cron, postgresql-$v-pgvector, postgresql-$v-rum
Linux / PGPG18PG17PG16PG15PG14PG13
el8.x86_64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
el8.aarch64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
el9.x86_64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
el9.aarch64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
el10.x86_64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
el10.aarch64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
d12.x86_64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
d12.aarch64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
d13.x86_64
MISS
MISS
MISS
MISS
MISS
MISS
d13.aarch64
MISS
MISS
MISS
MISS
MISS
MISS
u22.x86_64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
u22.aarch64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
u24.x86_64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
u24.aarch64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
PackageVersionOSORGSIZEFile URL
documentdb_170.106el8.x86_64pigsty2.6 MiBdocumentdb_17-0.106-0PIGSTY.el8.x86_64.rpm
documentdb_170.106el8.aarch64pigsty2.4 MiBdocumentdb_17-0.106-0PIGSTY.el8.aarch64.rpm
documentdb_170.106el9.x86_64pigsty2.5 MiBdocumentdb_17-0.106-0PIGSTY.el9.x86_64.rpm
documentdb_170.106el9.aarch64pigsty2.3 MiBdocumentdb_17-0.106-0PIGSTY.el9.aarch64.rpm
documentdb_170.106el10.x86_64pigsty2.4 MiBdocumentdb_17-0.106-0PIGSTY.el10.x86_64.rpm
documentdb_170.106el10.aarch64pigsty2.4 MiBdocumentdb_17-0.106-0PIGSTY.el10.aarch64.rpm
postgresql-17-documentdb0.106d12.x86_64pigsty4.3 MiBpostgresql-17-documentdb_0.106-0PIGSTY~bookworm_amd64.deb
postgresql-17-documentdb0.106d12.aarch64pigsty4.1 MiBpostgresql-17-documentdb_0.106-0PIGSTY~bookworm_arm64.deb
postgresql-17-documentdb0.106u22.x86_64pigsty4.8 MiBpostgresql-17-documentdb_0.106-0PIGSTY~jammy_amd64.deb
postgresql-17-documentdb0.106u22.aarch64pigsty4.8 MiBpostgresql-17-documentdb_0.106-0PIGSTY~jammy_arm64.deb
postgresql-17-documentdb0.106u24.x86_64pigsty4.4 MiBpostgresql-17-documentdb_0.106-0PIGSTY~noble_amd64.deb
postgresql-17-documentdb0.106u24.aarch64pigsty4.4 MiBpostgresql-17-documentdb_0.106-0PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
documentdb_160.106el8.x86_64pigsty2.6 MiBdocumentdb_16-0.106-0PIGSTY.el8.x86_64.rpm
documentdb_160.106el8.aarch64pigsty2.5 MiBdocumentdb_16-0.106-0PIGSTY.el8.aarch64.rpm
documentdb_160.106el9.x86_64pigsty2.5 MiBdocumentdb_16-0.106-0PIGSTY.el9.x86_64.rpm
documentdb_160.106el9.aarch64pigsty2.3 MiBdocumentdb_16-0.106-0PIGSTY.el9.aarch64.rpm
documentdb_160.106el10.x86_64pigsty2.4 MiBdocumentdb_16-0.106-0PIGSTY.el10.x86_64.rpm
documentdb_160.106el10.aarch64pigsty2.4 MiBdocumentdb_16-0.106-0PIGSTY.el10.aarch64.rpm
postgresql-16-documentdb0.106d12.x86_64pigsty4.3 MiBpostgresql-16-documentdb_0.106-0PIGSTY~bookworm_amd64.deb
postgresql-16-documentdb0.106d12.aarch64pigsty4.1 MiBpostgresql-16-documentdb_0.106-0PIGSTY~bookworm_arm64.deb
postgresql-16-documentdb0.106u22.x86_64pigsty4.8 MiBpostgresql-16-documentdb_0.106-0PIGSTY~jammy_amd64.deb
postgresql-16-documentdb0.106u22.aarch64pigsty4.8 MiBpostgresql-16-documentdb_0.106-0PIGSTY~jammy_arm64.deb
postgresql-16-documentdb0.106u24.x86_64pigsty4.4 MiBpostgresql-16-documentdb_0.106-0PIGSTY~noble_amd64.deb
postgresql-16-documentdb0.106u24.aarch64pigsty4.4 MiBpostgresql-16-documentdb_0.106-0PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
documentdb_150.106el8.x86_64pigsty2.6 MiBdocumentdb_15-0.106-0PIGSTY.el8.x86_64.rpm
documentdb_150.106el8.aarch64pigsty2.5 MiBdocumentdb_15-0.106-0PIGSTY.el8.aarch64.rpm
documentdb_150.106el9.x86_64pigsty2.5 MiBdocumentdb_15-0.106-0PIGSTY.el9.x86_64.rpm
documentdb_150.106el9.aarch64pigsty2.3 MiBdocumentdb_15-0.106-0PIGSTY.el9.aarch64.rpm
documentdb_150.106el10.x86_64pigsty2.4 MiBdocumentdb_15-0.106-0PIGSTY.el10.x86_64.rpm
documentdb_150.106el10.aarch64pigsty2.4 MiBdocumentdb_15-0.106-0PIGSTY.el10.aarch64.rpm
postgresql-15-documentdb0.106d12.x86_64pigsty4.3 MiBpostgresql-15-documentdb_0.106-0PIGSTY~bookworm_amd64.deb
postgresql-15-documentdb0.106d12.aarch64pigsty4.1 MiBpostgresql-15-documentdb_0.106-0PIGSTY~bookworm_arm64.deb
postgresql-15-documentdb0.106u22.x86_64pigsty4.8 MiBpostgresql-15-documentdb_0.106-0PIGSTY~jammy_amd64.deb
postgresql-15-documentdb0.106u22.aarch64pigsty4.8 MiBpostgresql-15-documentdb_0.106-0PIGSTY~jammy_arm64.deb
postgresql-15-documentdb0.106u24.x86_64pigsty4.4 MiBpostgresql-15-documentdb_0.106-0PIGSTY~noble_amd64.deb
postgresql-15-documentdb0.106u24.aarch64pigsty4.4 MiBpostgresql-15-documentdb_0.106-0PIGSTY~noble_arm64.deb

Source

pig build get documentdb; # get documentdb source code
pig build dep documentdb; # install build dependencies
pig build pkg documentdb; # build extension rpm or deb
pig build ext documentdb; # build extension rpms

Install

To add the required PGDG / PIGSTY upstream repository, use:

pig repo add pgsql -u   # add PGDG + Pigsty repo and update cache (leave existing repos)

Install this extension with:

pig ext install documentdb; # install by extension name, for the current active PG version
pig ext install documentdb; # install via package alias, for the active PG version
pig ext install documentdb -v 17;   # install for PG 17
pig ext install documentdb -v 16;   # install for PG 16
pig ext install documentdb -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION documentdb;

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