DFSG NEW Queue

DFSG, Licensing & New Packages Team

prefix 1.2.11-2

Package Information

DescriptionPrefix Range module for PostgreSQL

This PostgreSQL module provides the prefix_range datatype, allowing to index searches such as finding the longest prefix matching a telephone number, having prefixes in a table and telephone number as a parameter:

select * from prefixes where prefix @> '0100091234';

The prefix column has to be of type prefix_range, and any text field can get indexed by the provided GiST opclass.

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

New Package Report

.changes◂
Distributionunstable
DateWed, 25 Nov 2026 18:44:07 +0100
Sourceprefix
Version1.2.11-2
Changed-ByChristoph Berg <myon@debian.org>
Architecturesource amd64
Changelog◂
prefix (1.2.11-2) unstable; urgency=medium
 .
   * Upload for PostgreSQL 19.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
   * Copyright overhaul.
.dsc◂
Sectiondatabase
Priorityoptional
Componentmain
Package-Listpostgresql-19-prefix deb database optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: prefix
Source: https://github.com/dimitri/prefix

Files: *
Copyright: 2008-2017 The PostgreSQL Global Development Group
 2008-2011 Dimitri Fontaine <dim@tapoueh.org>
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, 0 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 prefix version 1.2.11-2

Summary

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

Licensing

debian/copyright is DEP-5. Files: * covers every upstream path (* spans /, so .github/, expected/, sql/ and the SQL scripts are all in it), names the PostgreSQL Global Development Group — the only holder carried by any file in the tree, stated in LICENSE — and adds Dimitri Fontaine; Files: debian/* overrides for the packaging, including debian/tests/. The PostgreSQL licence is reproduced verbatim from LICENSE in a stand-alone paragraph, which is required since there is no /usr/share/common-licenses/PostgreSQL on the system, and it is a DFSG-free BSD-style grant allowing modification and distribution. Nothing in the tree carries non-free wording, an unlicensed file, or third-party code with its own notice; the only other licence statement is License: BSD in the stale upstream RPM spec, the same grant under a different name.

Packaging

Plain, conventional pgsql-team packaging: 3.0 (quilt) with no patches, debhelper-compat 13, dh $@ --with pgxs_loop, one Architecture: any binary built for PostgreSQL 19, ${postgresql:Depends}/${postgresql:Breaks} named explicitly (needed below compat 14), tests run through pg_buildext installcheck with postgresql-common-dev in debian/tests/control. Build-Depends all resolve in the archive, debian/control matches debian/control.in, and Standards-Version: 4.7.4 is current against Policy 4.7.4.1. No issues worth reporting.

Issues

None.

Verified ◂
  • debian/copyright is DEP-5; Files: * (first stanza) covers all 29 upstream paths, Files: debian/* (later) overrides the packaging — and with * matching /, it covers debian/tests/control too (copyright-format 6.9).
  • The stand-alone License: PostgreSQL text is verbatim LICENSE; the Copyright: field's 2008-2017 The PostgreSQL Global Development Group matches LICENSE's notice line.
  • Tree-wide grep (gitignore disabled) for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, permission is hereby granted, GNU, BSD, MIT, Apache, MPL, public domain, all rights reserved: the only hits are LICENSE, debian/copyright, the License: BSD line of prefix.spec, and gplen identifiers in prefix.c. No holder outside debian/copyright; consistent with the prescan's author check.
  • prefix.c, prefix--*.sql, prefix.control, Makefile, README.md, TESTS.md, sql/*.sql, expected/*.out carry no per-file notice; the tree-wide LICENSE covers them and its text is in debian/copyright as Policy 2.3 requires for compiled-in source.
  • expected/*.out are upstream regression expected outputs (test data for make installcheck), not generated binaries; none is installed.
  • prefixes.fr.csv is the ARCEP French numbering-plan data set (12k rows of prefix/operator assignments) used only by the README.md/TESTS.md examples; it is not in Makefile's DATA and not installed. Provenance is documented in TESTS.md; it is factual data, not a creative work, and is inside Files: *.
  • prefix.spec is stale upstream RPM packaging (Licence BSD, 2008 Fedora spec); its License: BSD is the same BSD-style grant as the PostgreSQL licence, and it reaches no binary package.
  • No debian/patches (and .pc/applied-patches is empty), so the tree is upstream's; .gitignore lists only build products (prefix.so, prefix.o, results/), none of which is present.
  • Build-Depends resolve: postgresql-server-dev-all 297 depends on postgresql-common-dev 297 (which ships the pgxs_loop dh addon and pg_buildext) and postgresql-server-dev-19; postgresql-all 297 exists; architecture-is-64-bit is provided by architecture-properties 0.2.6+b2.
  • debian/control and debian/control.in are identical apart from postgresql-19-prefix vs postgresql-PGVERSION-prefix, and the built name matches debian/pgversions (all, and 19 is the only version in unstable).
  • Standards-Version: 4.7.4 against Policy 4.7.4.1 — first two components 4.7, current.
  • debian/tests/control (postgresql-common-dev, @) matches Testsuite-Triggers: postgresql-common-dev in the .dsc; postgresql-common-dev depends on make:any and ships pg_buildext.
  • dh_installdocs installs debian/copyright into every package regardless of the explicit file list, and -A/--all is a valid option (man dh_installdocs, FILES/OPTIONS), so the override_dh_installdocs does not lose the copyright or changelog files.
  • Changelog ends at 1.2.11-2, unstable, well-formed, dated 2026-11-25; only upstream/team work, no unclosed bug numbers claimed.
  • uscan found the packaged version as the newest upstream release (upstream 1.2.11, packaged 1.2.11).
Not confirmed ◂
  • postgresql-common is not installed on the reviewing system, so I could not read the pgxs_loop/dh_pgxs addon: I could not confirm that ${postgresql:Depends}/${postgresql:Breaks} are generated as expected, nor that pg_buildext installcheck runs under dh_auto_test so that the <!nocheck> marking of postgresql-all is skipped in a nocheck build.
  • The orig tarball's contents could not be browsed (only its top-level directory is listed), so the tree was compared with the .dsc metadata rather than file by file; the .dsc reports 3.0 (quilt) with no patches.
Proposed changes ◂

None.

Back to Dashboard | View all reviews for this package