Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wPwOu-0019p3-1b for pgsql-admin@arkaria.postgresql.org; Thu, 21 May 2026 05:56:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wPwOs-009I12-0i for pgsql-admin@arkaria.postgresql.org; Thu, 21 May 2026 05:56:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wPwOr-009I0r-2k for pgsql-admin@lists.postgresql.org; Thu, 21 May 2026 05:56:54 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wPwOq-00000000gSG-12Mt for pgsql-admin@lists.postgresql.org; Thu, 21 May 2026 05:56:54 +0000 Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-369576666d5so2630477a91.0 for ; Wed, 20 May 2026 22:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779343010; cv=none; d=google.com; s=arc-20240605; b=kkT7HI03AKvvcLzcNFQ0+0FcN9UbX+QG+CdDW7unZ4uHAalN3cObovGQ/qFjKon+eg HFzxz8b/KseojNNq5htHRrKagfqmu9kk9zegGZdw2hOeM/ImLssa/gdjrq8n2/5TfT8N JP1hTQujwdZ1i2LpFRqWEMBfyzP1g1weeNWQN46UTwcy0rYRgckf0JUsxwGNuxu2a7b+ aSoEz/u6zIamPECrJ0UciwX9dGaQOyyJM0dnItk96jLR/LAOpxjAQFxV0zzj8sxK/OSX 7yp8wKPqFViC4KgBTBU8F8z4peIJtANPYVa+kj+OYEP+L4GHhc93DK62blu0lvvJ8Qys pZgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=JyUv7g8XwHpUfB1WMlso6Otg+BmrkDLriOtaFjr7EIo=; fh=ZBPrScJS1Q1sktBC+fQk4NIDUREc0PIod0CKow21rJs=; b=eweGGuabfpUgDt5hkyYFMx+v7QG/gk2ktpH1cn67xAMv5ILTZjVoqC2+NQYb+AmJcl jWgdlKWVShjfSNsKWWiaXZHhJgstP0gwZrUznglbIjbtoUClO+YZtDk5gbzgCyMOFTpb TsVce8EeBQ4gZfjUIT0pdlWxpzM36BpKUzwkzgy/UQvXt76DTDtk/kdCTn6BSiO2AHeB WmD+tdNk0s0NPSoltNQDAx+4lst2awdWchnIgxcW+CdK2Z5cp9qw825Y9dXP0UWnxOC1 8x/3u9ibM4yxbo3p39S9eu2onqZDZxMJH/9LKUSTqb/O39T9CRnKKOJW4RevGNhsdCwb TmLw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779343010; x=1779947810; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JyUv7g8XwHpUfB1WMlso6Otg+BmrkDLriOtaFjr7EIo=; b=TVUR/RNA7zZZG6QpzA9IOEk0wD30eq00FjTCnUgXgqPPA1zumFoCFipW40znn//4oe 8sRhGhrgXYlrn+j0iM4WGagQ4isD+OiI6mzDZNXzpV4iJtl86GrGiAInShGimdCqMzqi DKFtQOxDtGgmdO7ZKIrtMVLNtr2iqwnM5wzEpZD9hDiC5VqSpVK2ti5bK+ctNhYYLxRi DV2rSrBw2GjMVjPkMzUlJ/FoMmX5RKrU+clG258daGt04WubsV42ZVdLzZtTHvfNVnG6 fYbeEHWli7t0Vz6521rK+qpGposVxmNNtCCJRAxeT5RDV2CtTCJx9mTqMS9+17F0pNSB pUMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779343010; x=1779947810; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JyUv7g8XwHpUfB1WMlso6Otg+BmrkDLriOtaFjr7EIo=; b=eENexiTaAt7Hb5YHKduv9Y9TI/SYMI0We5EezFRSd1m+evc/1iKe8tAu45/KLTptUR oWcueBchHFkCGHpfN0RuQNGGVYWYLAlgZeg8S0AlWPT/tXpvkJxtX+HE+gRxnQ5dYCHf Dn7lEOFmqXTqD3cBAnI+9S0VHUDN2BdMeY79zCy3QGokUScrouqdQEE3bdivKXD+JZP4 vEr0SC6t4V9LcrXh9UHY+gMAffIH3h6A7KujiZ6LEHOsSPwgiKEF2I1jj4n+MGP8BWoE Tz6bOZknVm82TaYlbWXHIPH04t4D5kDO1a/c03XD/9ODipqrS1NqbzBb3h9qVKlBF347 xHew== X-Gm-Message-State: AOJu0YzurtUB36ERMgVDox0ESOUb0IM1D0SNQ5yG+gmoR8rITjekapt7 tVyup3B5uMsPWMaytXrf49ne8ONS/OB8JsK3M//ZEVHcCvflNd1IeIwq7qlVZi3GFhreAEB1iib s+te9vBvIn/hsy5xbv6okUtbbHap3BOE= X-Gm-Gg: Acq92OFng9N2qFzqL44kThRunBSqUg104FiZGLhBfrzRT9U6Em3D0xyO3QD24aILYEv OImP3aaUiBu0CovsoBYJIDGIPxjler0DWy17Xr/qJG9yNLby3Ycqy8sCbDwMu96Gbc1xagiPZVK b6imbsSt/o94GPJH4GjebJrgbXrBPWxP4+PXC5ZtVf9mXr6AvPQc5zzoVuIRFqJzLmjlm/p38SH 48IUIPyYKUN4z7exl5B9Mo7q9DMcxeuWJaapYBXuZuNk2AqoTQpNt8m1aaWmP6ynMQqm/b2B1p9 qKrBNeiApM+TVJ27aQ== X-Received: by 2002:a17:90a:dfcc:b0:366:1bab:c3d6 with SMTP id 98e67ed59e1d1-36a451754cbmr1424028a91.10.1779343009648; Wed, 20 May 2026 22:56:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pratik Pandit Date: Thu, 21 May 2026 11:26:38 +0530 X-Gm-Features: AVHnY4KCTB18Yq-i78FQyFzqmU8VPgvcfQHjjAiRU8Ui_D9T9yy61it8pKZolmo Message-ID: Subject: Re: Looking for a native MongoDB document extension for PostgreSQL (similar to pgvector like extension) To: Jim Mlodgenski Cc: pgsql-admin@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000006130d06524d94e1" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000006130d06524d94e1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, I'll check it out. On Wed, May 20, 2026 at 7:01=E2=80=AFPM Jim Mlodgenski = wrote: > On Wed, May 20, 2026 at 8:26=E2=80=AFAM Pratik Pandit > wrote: > > > > Hi everyone, > > > > I am looking to handle document-store workloads directly inside > PostgreSQL, but using MongoDB-style query patterns or optimized storage > structures. > > > > To give an analogy: I highly appreciate how pgvector brings native > vector data types and specialized indexing (like HNSW) directly into > Postgres, keeping everything inside the same database engine. > > > > I know Postgres has incredible jsonb capabilities natively, but I am > looking for a PostgreSQL extension that bridges the gap closer to MongoDB= . > Specifically, I'm hoping to find something that provides: > > 1. A Native BSON Data Type: Storing binary JSON natively inside Postgre= s > for faster processing. > > 2. MongoDB API/Query Compatibility: The ability to run Mongo-like > queries directly on top of Postgres tables. > > > > I am already aware of Foreign Data Wrappers like mongo_fdw, but that is > for querying a separate, external MongoDB instance. I want to keep the da= ta > natively resident inside Postgres. > > > > Are there any active open-source extensions or projects that the > community recommends for this? (I have heard brief mentions of things lik= e > pg_documentdb / FerretDB, but I'd like to get the community's perspective > on what is production-ready extension for it). > > > > This is a high quality project > https://github.com/documentdb/documentdb > --00000000000006130d06524d94e1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, I'll check it out.=C2=A0

On Wed, May 20, 2026 at 7:01=E2=80=AFPM Jim Mlodgenski <jimmy76@gmail.com> wrote:
On Wed, May 20, 2026 at 8:26=E2=80= =AFAM Pratik Pandit
<pratikp= andit5322@gmail.com> wrote:
>
> Hi everyone,
>
> I am looking to handle document-store workloads directly inside Postgr= eSQL, but using MongoDB-style query patterns or optimized storage structure= s.
>
> To give an analogy: I=C2=A0 highly appreciate how pgvector brings nati= ve vector data types and specialized indexing (like HNSW) directly into Pos= tgres, keeping everything inside the same database engine.
>
> I know Postgres has incredible jsonb capabilities natively, but I am l= ooking for a PostgreSQL extension that bridges the gap closer to MongoDB. S= pecifically, I'm hoping to find something that provides:
> 1. A Native BSON Data Type: Storing binary JSON natively inside Postgr= es for faster processing.
> 2. MongoDB API/Query Compatibility: The ability to run Mongo-like quer= ies directly on top of Postgres tables.
>
> I am already aware of Foreign Data Wrappers like mongo_fdw, but that i= s for querying a separate, external MongoDB instance. I want to keep the da= ta natively resident inside Postgres.
>
> Are there any active open-source extensions or projects that the commu= nity recommends for this? (I have heard brief mentions of things like pg_do= cumentdb / FerretDB, but I'd like to get the community's perspectiv= e on what is production-ready extension for it).
>

This is a high quality project
https://github.com/documentdb/documentdb
--00000000000006130d06524d94e1--