DFSG NEW Queue

DFSG, Licensing & New Packages Team

jsquery 1.2-4

Package Information

DescriptionPostgreSQL JSON query language with GIN indexing support

JsQuery provides additional functionality for the PostgreSQL jsonb datatype, such as a simple and effective way to search in nested objects and arrays, and more comparison operators with index support. It does this by implementing a specialized search syntax, the @@ operator, and the jsquery type for search strings.

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/jsquery.git (browse)
Popcon Installs37
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/jsquery
Uploaded1 hour ago

New Package Report

.changes◂
Sourcejsquery
Version1.2-4
Changed-ByChristoph Berg <myon@debian.org>
Architecturesource amd64
Distributionunstable
DateWed, 25 Nov 2026 10:54:56 +0100
Changelog◂
jsquery (1.2-4) unstable; urgency=medium
 .
   * Upload for PostgreSQL 19.
   * Copyright overhaul.
   * debian/pgversions: Bump to 11+.
.dsc◂
Sectiondatabase
Priorityoptional
Componentmain
Package-Listpostgresql-19-jsquery deb database optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: jsquery
Source: https://github.com/postgrespro/jsquery

Files: *
Copyright: 2014-2021, PostgreSQL Global Development Group
           2014-2021, Postgres Professional
           1994, The Regents of the University of California
License: PostgreSQL

Files: debian/*
Copyright: 2026, Christoph Berg <myon@debian.org>
License: PostgreSQL

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.

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 0 hours ago.

Report◂

DFSG NEW review for jsquery version 1.2-4

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 with the correct Format URL, a Files: * stanza naming the PostgreSQL Global Development Group, Postgres Professional and the Regents of the University of California, a debian/* stanza for Christoph Berg, and the full PostgreSQL licence text. The LICENSE file and every C/lex/yacc header use the same PostgreSQL terms, and the only patch-created file (meson.build, Copyright (c) 2025, Postgres Professional) is covered by a named holder. No non-free wording, no vendored third-party code, and every copyright holder found in the tree is named.

Packaging

Control, rules, changelog, tests and patches are consistent with current PostgreSQL-extension practice: debhelper-compat 13 with the pgxs addon, correct relationship substvars, a valid autopkgtest on pg_buildext, Standards-Version 4.7.4 against Policy 4.7.4.1, and all build dependencies present in the archive. The only defect is that neither quilt patch carries DEP-3 headers, leaving the purpose, origin and forwarding status of the large pg19 patch undocumented.

Issues

minor packaging 1. debian/patches/pg19 and makefile lack DEP-3 headers ◂
  • Files: debian/patches/pg19:1, debian/patches/makefile:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/patches/pg19 starts at line 1 with diff --git a/README.md b/README.md; debian/patches/makefile likewise starts with --- a/Makefile. Neither has a Description:, Origin: or Forwarded: field.
  • Problem: Neither patch documents its purpose, author, origin or whether it was forwarded upstream, contrary to established Debian patch practice (DEP-3, https://dep-team.pages.debian.net/deps/dep3/). This matters most for pg19: it is a 4355-line patch that rebuilds the C code for PostgreSQL 19, rewrites large parts of README.md and deletes expected/jsquery_1.out, so its intent and upstream status cannot be determined from the package.
  • Fix: Add DEP-3 headers to both patches, with a Description: explaining what each changes and why, Origin:/Forwarded: (and Bug:/Author: where applicable), Last-Update:. The pg19 header should also say whether the README rewrite and the removal of the alternate expected output are part of the same upstream change.
Verified ◂
  • Read debian/copyright in full: it is DEP-5 with the exact copyright-format/1.0 Format URL, Files: *, Files: debian/* and a stand-alone License: PostgreSQL paragraph containing the complete PostgreSQL licence text.
  • Grepped all 26 upstream files (excluding .pc/ and debian/cargo-checksum.json) for Copyright, (c), SPDX-License-Identifier, GPL/LGPL, Apache, MPL, public domain, All rights reserved and non-commercial/no-modification wording: only the PostgreSQL licence appears, and the holders PG DG, Postgres Professional and UC Regents are all named in debian/copyright.
  • LICENSE and the headers of jsonb_gin_ops.c, jsquery_constr.c, jsquery_extract.c, jsquery_gram.y, jsquery_io.c, jsquery_op.c, jsquery_scan.l, jsquery_support.c and jsquery.h all state PostgreSQL-licence terms with those holders; licence short name PostgreSQL matches the text.
  • meson.build (created by debian/patches/pg19) carries # Copyright (c) 2025, Postgres Professional; the holder and PostgreSQL licence are stated, so no missing-holder issue.
  • data/test_jsquery.data is 1034 lines of JSON product/review records used by sql/jsquery.sql for regression testing; it is not installed (Makefile DATA lists only the .sql files) and is covered by Files: * / the PostgreSQL licence.
  • travis/.sh are upstream CI scripts and travis/.gpg.key are PGP public keys recorded by name (not opened as binary); both are covered by Files: * and carry no separate licence terms.
  • No generated C sources are shipped: jsquery_gram.c, jsquery_scan.c and jsquery_gram.h are absent and listed in .gitignore, so the lex/yacc inputs are present as their preferred form.
  • Read debian/control, control.in, rules, changelog, source/format, pgversions, tests/control, tests/installcheck, gitlab-ci.yml and both patches: compat 13 with dh $@ --with pgxs, explicit ${misc:Depends}/${shlibs:Depends}/${postgresql:Depends}/${postgresql:Breaks} (correct below compat 14), Tests: installcheck with @ and postgresql-common-dev.
  • Standards-Version 4.7.4 matches Policy 4.7.4.1 (first two components current).
  • Build dependencies exist: postgresql-server-dev-all 297, postgresql-common-dev 297, postgresql-all 297; architecture-is-64-bit is provided by architecture-properties 0.2.6.
  • Changelog is sane: 1.2-4/unstable, matching the .dsc, with the PG19 upload entry and a closed bug in the current series.
  • uscan found the packaged version as the newest upstream release (upstream 1.2, packaged 1.2).
Not confirmed ◂
  • File modes (e.g. whether debian/tests/installcheck is executable) could not be checked with the available tools.
  • Whether debian/patches/pg19 and makefile have been forwarded upstream; the patches carry no Origin/Forwarded metadata and no network access is allowed.
Proposed changes ◂

None.

Uploader's response to the LLM review

Why is this "minor" "packaging" complaint still flagged as "Please look at it, and respond by visiting the link"?

— Christoph Berg (myon), 0 hours ago

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package