DFSG NEW Queue

DFSG, Licensing & New Packages Team

mongo-fdw 5.6.0-1

Package Information

DescriptionMongoDB Foreign Data Wrapper for PostgreSQL

This PostgreSQL extension implements a Foreign Data Wrapper (FDW) for MongoDB.

* Write-able FDW * Connection Pooling * JOIN push-down * AGGREGATE push-down * ORDER BY push-down * LIMIT OFFSET push-down

MaintainerDebian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed ByChristoph Berg <myon@debian.org>
Sponsormyon@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/postgresql/mongo-fdw.git (browse)
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/mongo-fdw
Uploaded2 days ago

New Package Report

.changes◂
DateWed, 25 Nov 2026 15:46:26 +0100
Sourcemongo-fdw
Version5.6.0-1
Changed-ByChristoph Berg <myon@debian.org>
Architecturesource amd64
Distributionunstable
Changelog◂
mongo-fdw (5.6.0-1) unstable; urgency=medium
 .
   * New upstream version 5.6.0.
   * Upload for PostgreSQL 19.
   * Copyright overhaul.
.dsc◂
Componentmain
Package-Listpostgresql-19-mongo-fdw deb database optional arch=any
Sectiondatabase
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mongo_fdw
Source: https://github.com/EnterpriseDB/mongo_fdw

Files: *
Copyright:
 Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
 Portions Copyright (c) 2004-2026, EnterpriseDB Corporation.
 Portions Copyright (c) 2012–2014 Citus Data, Inc.
License: PostgreSQL and LGPL-3+

Files: debian/*
Copyright:
 2026 Christoph Berg <myon@debian.org>
License: LGPL-3+

License: PostgreSQL
 Permission to use, copy, modify, and distribute this software and its
 documentation for any purpose, without fee, and without a written agreement
 is hereby granted, provided that the above copyright notice and this
 paragraph and the following two paragraphs appear in all copies.
 .
 IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
 DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
 LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
 DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
 .
 THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
 ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
 PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

License: LGPL-3+
 This program is free software: you can redistribute it and/or modify it
 under the terms of the GNU Lesser General Public License as published by
 the Free Software Foundation, either version 3 of the License, or (at
 your option) any later version.
 .
 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
 General Public License for more details.
 .
 On Debian GNU/Linux systems, the complete text of the GNU Lesser General
 Public License can be found in `/usr/share/common-licenses/LGPL-3'.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 2 days ago.

Report◂

DFSG NEW review for mongo-fdw version 5.6.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is DEP-5 and complete. Files: * names exactly the three holders that appear in the file headers (PostgreSQL Global Development Group, EnterpriseDB, Citus Data) and licenses them PostgreSQL and LGPL-3+; the PostgreSQL permission text is reproduced in full and the LGPL-3+ paragraph points at /usr/share/common-licenses/LGPL-3. Files: debian/* covers the packaging and the patch under Christoph Berg. No file is unlicensed, no non-free wording exists anywhere, no built or minified files ship, and the json-c/mongo-c-driver submodules named in .gitmodules are not vendored.

Packaging

Standard Debian PostgreSQL team pgxs packaging, correctly done: debhelper 13 with dh $@ --with pgxs, correct Build-Depends (including postgresql-all <!nocheck> for the build-time smoke test), an autopkgtest, sane changelog, Vcs-* fields and a Standards-Version matching the current Policy. The only gap is that the single Debian patch carries no DEP-3 header, so its purpose and forwarding status are unrecorded.

Issues

minor packaging 1. debian/patches/mongoc has no DEP-3 header, so the Debian-specific pkg-config/json-c hacks and the libmongoc 2.x rename are undocumented ◂
  • Files: debian/patches/mongoc:1, debian/patches/series:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: The patch begins directly with --- a/Makefile / +++ b/Makefile, and debian/patches/series contains only the bare name mongoc. Its two hunks do unrelated-looking things: they replace the bundled json-c objects with pkg-config lookups for json-c and mongoc2 (plus a sed that hard-codes /usr/include), and rename MONGOC_DELETE_SINGLE_REMOVE to MONGOC_REMOVE_SINGLE_REMOVE.
  • Problem: DEP-3 headers are not required by Policy, but the patch is a non-obvious build adaptation that a future maintainer cannot evaluate: nothing says whether it is Debian-specific by design (not to be forwarded), whether it was sent upstream, or what the sed expression is for. A sponsor would ask for this before upload.
  • Fix: Prepend a DEP-3 header: Description: (build against Debian's system json-c and libmongoc 2.x instead of the bundled json-c objects; follow the enum rename in mongo-c-driver 2.x), Forwarded: not-needed or the upstream issue URL, Bug:/Last-Update: as appropriate, and move the # to -I/usr/include/... note into the description.
Verified ◂
  • Read all 13 files of debian/ in full: changelog, control, control.in, copyright, rules, pgversions, watch (not assessed), gitlab-ci.yml, source/format, patches/series, patches/mongoc, tests/control, tests/installcheck.
  • Inventoried the tree: 23 top-level upstream files plus data/ (5), expected/ (18) and sql/ (8); every one is matched by Files: * in debian/copyright, and every file under debian/ (including debian/patches/mongoc) by Files: debian/*. .pc/ was ignored per instructions.
  • Licence evidence: every .c/.h has the same header at lines 6-8 (Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group / 2004-2026, EnterpriseDB Corporation. / 2012-2014 Citus Data, Inc.); Makefile, autogen.sh, mongo_fdw.control, mongo_fdw--1.0.sql and mongo_fdw--1.1.sql carry subsets; README.md's License section grants LGPL-3+; LICENSE is the LGPL-3 text. A case-insensitive grep for Copyright/(C)/©/SPDX/GNU/Apache/MPL/public domain/Redistribution/AS IS/licence found no other holder or licence anywhere in the tree.
  • debian/copyright is DEP-5 and its three holders match exactly what the file headers say; the License: PostgreSQL paragraph reproduces the canonical PostgreSQL licence (including the two paragraphs it requires to be kept in copies), and LGPL-3+ points at /usr/share/common-licenses/LGPL-3.
  • No DFSG problem: no non-commercial, no-modification, field-of-use, patent or JSON "Good, not Evil" wording anywhere. README's "commercial support" line is a support offer, not a licence term.
  • No built, minified, archived, PDF or image files in the tree; mongo_fdw.c and friends are hand-written source. The json-c and mongo-c-driver submodules named in .gitmodules are not vendored (empty/no directories), and debian/patches/mongoc deliberately drops upstream's bundled json-c objects in favour of Debian's libjson-c-dev, so no embedded copy of a library Debian already ships.
  • Test data accounted for: data/mongo_fixture.json, data/mongo_warehouse.json, data/mongo_testlog.json, data/mongo_testdevice.json and data/mongo_test_data.js are upstream MongoDB fixtures, and expected/*.out are recorded pg_regress outputs; nothing from data/, expected/ or sql/ is installed - dh_installdocs here installs only README.md plus debian/copyright.
  • All names in debian/control exist in the reviewing system's package lists: libjson-c-dev 0.19+ds-1, libmongoc-dev 2.5.9-1 (mongo-c-driver 2.x, which matches the patch's mongoc2/MONGOC_REMOVE_SINGLE_REMOVE changes), pkgconf 2.5.1-4 (Provides: pkg-config), postgresql-all 297, postgresql-server-dev-all 297, postgresql-common-dev 297 (for debian/tests/control), and debhelper-compat (= 13) via debhelper 14.5. architecture-is-64-bit is a virtual package provided by architecture-properties 0.2.6+b2.
  • Standards-Version 4.7.4 against Policy 4.7.4.1: the first two components match, so not an issue. 3.0 (quilt), Vcs-Browser/Vcs-Git, Maintainer/Uploaders, changelog distribution unstable and version 5.6.0-1 are all in order.
  • The pre-scan's author check listed no file and reported every holder named; my independent inventory agrees - the only holders in the tree are the three in the Files: * stanza.
  • uscan found the packaged version as the newest upstream release (upstream 5.6.0, packaged 5.6.0).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (LGPL-3).
Not confirmed ◂
  • postgresql-common-dev is not installed on the reviewing system, so I could not read pg_buildext or dh_pgxs_test: I took the argument forms pg_buildext psql . . postgresql-%v-mongo-fdw (debian/rules) and pg_buildext psql (debian/tests/installcheck) as the PostgreSQL team's standard usage, and could not confirm that dh_pgxs_test (rather than its override) honours DEB_BUILD_OPTIONS=nocheck, which matters because the server needed by the override comes from postgresql-all <!nocheck>.
  • As instructed, I did not build the package or run its tests; whether the source compiles against libmongoc 2.5.9 after debian/patches/mongoc and whether the CREATE EXTENSION smoke test passes in autopkgtest are therefore not verified here.
Proposed changes ◂

None.

Uploader's response to the LLM review

Minor.

— Christoph Berg (myon), 2 days ago

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
5.5.3-1 5e15c157… 2026-07-15 18:49 2026-07-15 18:50 mechtilde accepted VIEW

Back to Dashboard | View all reviews for this package