DFSG NEW Queue

DFSG, Licensing & New Packages Team

pg-catcheck 1.6.0-3

Package Information

DescriptionPostgres system catalog checker

PostgreSQL stores the metadata for SQL objects such as tables and functions using special tables called system catalog tables. pg_catcheck is a simple tool for diagnosing system catalog corruption. If you suspect that your system catalogs are corrupted, this tool may help you figure out exactly what problems you have and how serious they are. If you are paranoid, you can run it routinely to search for system catalog corruption that might otherwise go undetected.

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/pg-catcheck.git (browse)
Popcon Installs34
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/pg-catcheck
Uploaded2 hours ago

New Package Report

.changes◂
Version1.6.0-3
Changed-ByChristoph Berg <myon@debian.org>
Architecturesource amd64
Distributionunstable
DateWed, 25 Nov 2026 11:27:14 +0100
Sourcepg-catcheck
Changelog◂
pg-catcheck (1.6.0-3) unstable; urgency=medium
 .
   * Upload for PostgreSQL 19.
   * Copyright overhaul.
.dsc◂
Priorityoptional
Componentmain
Package-Listpostgresql-19-pg-catcheck deb database optional arch=any
Sectiondatabase
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pg_catcheck
Source: https://github.com/EnterpriseDB/pg_catcheck

Files: *
Copyright: Copyright (c) 1996-2014, PostgreSQL Global Development Group
           Copyright (c) 2013-2014, EnterpriseDB Corporation
           Copyright (c) 1994, The Regents of the University of California
License: PostgreSQL

Files: debian/*
Copyright: 2020-2023 Michael Banck <michael.banck@credativ.de>
           2020-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 pg-catcheck version 1.6.0-3

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 the tree carries a single upstream licence: LICENSE (PostgreSQL licence) naming the PostgreSQL Global Development Group, EnterpriseDB and the Regents of the University of California; debian/copyright names all three for Files: * and repeats the full licence text (the licence is not in /usr/share/common-licenses). The packaging files are covered by the later debian/* stanza under the same permission, which is the team's usual choice. A case-insensitive search of the whole tree for copyright/licence/SPDX wording found nothing outside LICENSE and a prose mention in README.md, no built files, images or vendored third-party code are present, and the prescan's author check found every holder named.

Packaging

Conventional postgresql-team packaging: debhelper compat 13 with dh $@ --with pgxs, pg_buildext multi-version build, control.in/control kept in sync, R³-free, Standards-Version 4.7.4 (Policy 4.7.4.1), correct Vcs-*/Homepage, a sane autopkgtest, and a changelog in order for unstable. The only shortcoming found is that neither quilt patch has a DEP-3 header, so the purpose and forwarding status of the include patch in particular are unrecorded. Two things depend on infrastructure outside the package and could not be checked here; both are under 'Not confirmed'.

Issues

minor packaging 1. Both patches lack DEP-3 headers (no Description, Origin, Forwarded or Last-Update) ◂
  • Files: debian/patches/avoid_linking_server_libs.patch, debian/patches/include, debian/patches/series
  • Basis: checked, in the package or with a reference tool
  • Evidence: avoid_linking_server_libs.patch begins directly with --- a/Makefile; debian/patches/include begins with --- a/check_attribute.c; series lists avoid_linking_server_libs.patch and include.
  • Problem: Policy does not require DEP-3 headers, but they are the established practice and both patches are undocumented. The include patch adds #include "postgres.h" to a frontend source file, and nothing in the package says why, for which PostgreSQL version, or whether it was forwarded upstream (the changelog shows earlier patches were pulled from upstream), so a future maintainer cannot judge whether it is still needed.
  • Fix: Add a DEP-3 header to each patch with at least Description: and Forwarded: (and Origin:/Last-Update: where applicable); state in include that it fixes the build with PostgreSQL 17+ and forward it upstream if not already done.
Verified ◂
  • Read every file of debian/ in full (copyright, control, control.in, rules, changelog, source/format, tests/control, tests/catcheck, patches/series and both patches, upstream/metadata, gitlab-ci.yml, pgversions); debian/watch left out of the review as instructed.
  • debian/copyright is DEP-5 with Files: * (PostgreSQL Global Development Group 1996-2014, EnterpriseDB 2013-2014, Regents of the University of California 1994), a later debian/* stanza (Michael Banck, Christoph Berg) and a stand-alone License: PostgreSQL paragraph holding the full licence text; the three Files: * holders match LICENSE exactly.
  • Inventoried all 19 upstream files (18 non-dotfiles plus .gitignore): Makefile, 11 .c/.h sources, LICENSE, README.md, .gitignore, typedefs.list, pg_catcheck.proj and settings.projinc; Files: * matches all of them, and the later debian/* stanza overrides for the packaging.
  • A case-insensitive grep of the whole tree for copyright|licen[cs]e|portions|warranty|redistribut|SPDX finds only LICENSE (the three holders and the PostgreSQL permission text) and a prose sentence in README.md saying the tool is released under the PostgreSQL licence; no per-file notices, no other holder, no third-party or vendored code.
  • No build products, archives, images, fonts or minified files in the tree; typedefs.list is pgindent typedef data, and pg_catcheck.proj/settings.projinc are hand-written MSVC project files, all under the upstream PostgreSQL licence.
  • The prescan's author check reports that every holder found in the tree is named in debian/copyright; there is no Files-Excluded, and the upstream tarball contains nothing that would need one.
  • The two quilt patches modify only upstream's Makefile and check_attribute.c and create no files; neither brings in third-party work.
  • apt-cache: architecture-is-64-bit is provided by architecture-properties 0.2.6+b2; postgresql-19 (19.0-2) and postgresql-common-dev (297, providing pg_buildext) exist; postgresql-server-dev-all depends on postgresql-server-dev-19; postgresql-19-pg-catcheck is this package's own new binary, so its absence from the archive is not a fault.
  • Standards-Version 4.7.4 against Policy 4.7.4.1 is current; debhelper compat 13 is a supported level; source format 3.0 (quilt); changelog version, distribution and timestamps are consistent.
  • Autopkgtest: debian/tests/catcheck exists and matches Tests: catcheck; Depends: postgresql-common-dev, @ gives pg_buildext and the package's own binary (which pulls postgresql-19 and postgresql-common for pg_virtualenv); Restrictions: allow-stderr is appropriate for pg_virtualenv output.
  • The debhelper tool at compat 13 confirms dh skips hook/override targets only for dh_auto_test, dh_dwz and dh_strip under nocheck/nostrip.
  • uscan found the packaged version as the newest upstream release (upstream 1.6.0, packaged 1.6.0).
Not confirmed ◂
  • Possible FTBFS with DEB_BUILD_OPTIONS=nocheck: postgresql-all is marked <!nocheck> and is the only build dependency that pulls the server (postgresql-19; postgresql-server-dev-19 depends only on postgresql-client-19, which merely Suggests it), while override_dh_pgxs_test (debian/rules:12-15) runs pg_virtualenv -v $v against the just-installed binary. dh at compat 13 does not skip overrides of dh_pgxs_test, but whether postgresql-common-dev's pgxs sequence omits dh_pgxs_test (and thus its override) when nocheck is set is decided in postgresql-common-dev, which is not installed on the reviewing system. A clean build with DEB_BUILD_OPTIONS=nocheck would show whether it fails; if it does, the target should skip itself on nocheck (or the <!nocheck> profile be dropped from postgresql-all).
  • $(MAKE) man in override_dh_auto_build (debian/rules:8): neither the Makefile nor any file in the source tree defines a man target or a man page source, so its success must come from PostgreSQL's PGXS makefiles, which are not installed here. The 1.6.0-2 build in the archive suggests it works; a build would confirm.
Proposed changes ◂

None.

Back to Dashboard | View all reviews for this package