documentdb

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 CompatibilityPackage PatternDependencies
EXT
PIGSTY
0.106
18
17
16
15
14
13
documentdb-
RPM
PIGSTY
0.106
18
17
16
15
14
13
documentdb_$v*postgresql$v-contrib, pg_cron_$v, pgvector_$v, rum_$v
DEB
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
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
MISS
MISS
d13.aarch64
MISS
PIGSTY 0.106
PIGSTY 0.106
PIGSTY 0.106
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

Source

pig build pkg documentdb;		# build rpm / deb with pig

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgdg pigsty -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 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