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 1wPh1o-000xQJ-1o for pgsql-admin@arkaria.postgresql.org; Wed, 20 May 2026 13:32:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wPh1l-007qAd-0l for pgsql-admin@arkaria.postgresql.org; Wed, 20 May 2026 13:32:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wPh1k-007qAV-2u for pgsql-admin@lists.postgresql.org; Wed, 20 May 2026 13:32:01 +0000 Received: from mail-yx1-xb12d.google.com ([2607:f8b0:4864:20::b12d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wPh1j-00000000Uf8-154T for pgsql-admin@lists.postgresql.org; Wed, 20 May 2026 13:32:00 +0000 Received: by mail-yx1-xb12d.google.com with SMTP id 956f58d0204a3-6579254f996so3077981d50.1 for ; Wed, 20 May 2026 06:31:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779283919; cv=none; d=google.com; s=arc-20240605; b=N02zt/Xb3QfopcEsCl/PxXVO5fw2tc9Hg7GQC8ZPf76DkRyRlaZr5DSWxYKIPG30CK 5YeyeAkc9LFNjjUs6lawv/TRMzq4qQy8Ygh/1gh3TPXkkNz85IGop3djfTe56uZpesPT Ooi9eAs9lT/G6LL7i9m7932qSxI547BrraoNY3R2Ahr5XFnPN1iZ2QYSBJciCHFlG6+k iAqUzB46HwkVTMiU6gA/2U61zas4CGIKcqTwfwZKwrnliILs93tfN36TZYEu7MWKxItc Rfi0ggkywXt389OHo30hvRHE3rUEGrPkFewdoGOoeJhlFez0lFxuFHBCb2RPbzd+lxJ9 vBUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qyxie3kEWF1ht1JQjH0ExBRneLce/eURpCdzWDJWJiw=; fh=z3qBbCEni9FUiOT7ulC6PZ/Vuzxz5/yU6ue+iBButuY=; b=lJDJOtrcIeaLynHEDv22wRQHum6NuvdmxWwYucyxutJZ0JmUUQ8ETP3ZAxsZSiz2Ts fpBmdMglGUFbmEpEt6PmKnloNAoy5sBVDbNYBkkk7ifeQMovpIvWgHVu2vNMBipKxelv m5NS7aHncK02Ol+/kbaxE0jAVPF3orxxWQAULB+SdN7Z7DiQFEMyCIAKWJDwUM1bgNn3 9GWrdLjz0HXswyf68ysDSX/vnzKQs6fhqQFU3w31lceIm9CaiWTBye5eJM6kQX9BVp4c YmwM44Em9L5Acs40Arjoa1mRj43qDF0WRSbiz15Bhgw/2341c7r7uQfoXzlVkphAYilM 84Rg==; 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=1779283919; x=1779888719; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qyxie3kEWF1ht1JQjH0ExBRneLce/eURpCdzWDJWJiw=; b=ao9CMEmOnD6egIjMZlpNX2DA/GAqYcSahxxZYpDKYOKsHmH+56TvyNAvt8mQCntjLW jdPsOfcvJ0zsLd1wAA9FHIjyJ+WXIzpYA5TnNTYUy/Eqtwfw97es3B5kaINEtA+H0IR0 HAcmXU6CigWkg9yvyzHWrsYeJk2hrrtKrGAdDC4WogZh4zLX4IpLXeTIyRWSIN7qUlpt O+NlMjazEac934txHF6NesV+1d73B8E7ZKqSaHN9qDf+UPnfBwSkfZ9xfjTlryb0gGBH F/76Edx90bnr7JQffrNBBKtxL7OW/NovKMylKqtyqF9BBuQsgfIn6psNgMWZ+G2l7X9r dblg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779283919; x=1779888719; h=content-transfer-encoding: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=qyxie3kEWF1ht1JQjH0ExBRneLce/eURpCdzWDJWJiw=; b=Lz/FdgE9qDSpCqERAQPmGG1SfT+ffZDtgJ9F+BbrBwESbGwr0UF2NP1S+tzw8jaMH1 WRHU1i6tc/TjcmBnQCO5fnBDiipYCsPkPRlDXC/ki30R1UmtiAeAnPAEbWwL3TYu5pjS BBJ22V6c0VjbUg92jKXMezzcq1DAAgd0HOUZff+kKMfmL6pwoBCqbkBaHeTyS7hhnWPJ y5sndzU0x0PsNZhpCxomeRwUnVMZV5OU5fBZyhDisaHOd7yloDUHLWyKlgd3OjFfPBf+ PNl0wSgd64LljoP2pTqJo611ssCTn+HgdOCop/YTQ5PFAg4WY1fbQd1BF0F8z7s3PZdV peJA== X-Gm-Message-State: AOJu0YwYkFchkHvt0/eP6eB3AUqQA8P1+CJxsELNbkp8/Irt1B2H/IZB 2/NJFnRbW4gzTANeG12asgmpDlZXtGnwuC65Ct970zNuJcHrjPE9caCfTSnW1SZ3nUt75+qOR6R mUT7W0xQhxcK2rxquDHz1EDoUtE0V1Ns= X-Gm-Gg: Acq92OHyTe4h+++k/a9BjDNpTRjz4GTBaJAC3AAaQ1q79ZHrg0Pg5qCcAm6lJOmq/5c U50Hbs5o7wBBT7jaoErV09OoX2Fa/ivMwY4t05zzx0/UBa9RfY6me+RPHWvigOjTDS8Mm9V6ACj oMWQqXwNUetw6+bKOfr1HSPZu+XV421woKbG6MstRyW0xad5ddg55JbNa//ZbFyVsuLSU00/ZXJ zH0HyuBTlgskGyZFW/1Be67BYM4aeqVQsO1ogwQ/GHiDhItRHFk0o/sbE9Lwz3k6Z2OOgCUQm8A l45QAhGvfm63XFoQVH+6SY/g/3PZ8++FOxKBwcPdeOGuNZ+swhCmXmyJVq26AC2B+xU272VXgnC D+b1icNG+FNPFUBzGiJnucCBUHbBN90QSVV1bwoAdQnYCyuXFlhDAJ7a5edMX X-Received: by 2002:a53:accd:0:20b0:654:468c:7dd5 with SMTP id 956f58d0204a3-65e2280d9e5mr20084705d50.33.1779283919063; Wed, 20 May 2026 06:31:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Mlodgenski Date: Wed, 20 May 2026 09:31:48 -0400 X-Gm-Features: AVHnY4JRrTlfniXaxyYjJo2GHP1io_oMMVj0Ihkx4BZ2o-YFnT3vldgWlcwS7L8 Message-ID: Subject: Re: Looking for a native MongoDB document extension for PostgreSQL (similar to pgvector like extension) To: Pratik Pandit Cc: pgsql-admin@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 PostgreSQ= L, but using MongoDB-style query patterns or optimized storage structures. > > To give an analogy: I highly appreciate how pgvector brings native vecto= r data types and specialized indexing (like HNSW) directly into Postgres, k= eeping everything inside the same database engine. > > I know Postgres has incredible jsonb capabilities natively, but I am look= ing for a PostgreSQL extension that bridges the gap closer to MongoDB. Spec= ifically, I'm hoping to find something that provides: > 1. A Native BSON Data Type: Storing binary JSON natively inside Postgres = 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 f= or querying a separate, external MongoDB instance. I want to keep the data = natively resident inside Postgres. > > Are there any active open-source extensions or projects that the communit= y recommends for this? (I have heard brief mentions of things like pg_docum= entdb / FerretDB, but I'd like to get the community's perspective on what i= s production-ready extension for it). > This is a high quality project https://github.com/documentdb/documentdb