Review: pg-background 2.0.5-1
Package Information
| Description | Background SQL extension for PostgreSQL pg_background is a PostgreSQL extension to execute arbitrary SQL commands in background worker processes within PostgreSQL. It allows workloads requiring asynchronous execution, autonomous transactions, and long-running operations without blocking client sessions. Unlike dblink (which creates a separate connection) or client-side async patterns, pg_background workers run inside the database server with full access to local resources while operating in independent transactions. |
|---|---|
| Maintainer | Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> |
| Changed By | Christoph Berg <myon@debian.org> |
| Sponsor | myon@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/postgresql/pg-background.git (browse) |
| Popcon Installs | 1 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/pg-background |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Date | Tue, 24 Nov 2026 17:39:29 +0100 |
| Source | pg-background |
| Version | 2.0.5-1 |
| Changed-By | Christoph Berg <myon@debian.org> |
| Architecture | source amd64 |
Changelog
pg-background (2.0.5-1) unstable; urgency=medium
.
* Team upload.
* New upstream version 2.0.5.
* Upload for PostgreSQL 19.
* Restrict to 64-bit architectures.
* Add ${postgresql:Breaks}.
* Copyright overhaul..dsc
| Package-List | postgresql-19-pg-background deb database optional arch=any |
|---|---|
| Section | database |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pg_background
Source: https://github.com/vibhorkum/pg_background
Files: *
Copyright: 1996-2026, PostgreSQL Global Development Group
2014-2026, Vibhor Kumar and contributors
License: PostgreSQL
Comment: The project's copyright notice and license text were updated
upstream (from GPL-3 to the PostgreSQL License) in
https://github.com/vibhorkum/pg_background/commit/ed1f6316. The
License: paragraph below reflects the project's current LICENSE file.
Files: debian/*
Copyright: 2026, Michael Banck <mbanck@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 COPYRIGHT HOLDER 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 COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
.
THE COPYRIGHT HOLDER 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 COPYRIGHT HOLDER 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 1 hour ago.
Report
DFSG NEW review for pg-background version 2.0.5-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis 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 and matches the tree: the project is under the PostgreSQL License (permissive, DFSG-free), and the full licence text is included in debian/copyright because it is not in /usr/share/common-licenses. Every file notice names only Vibhor Kumar and contributors and the PostgreSQL Global Development Group, both of which the copyright file lists; the prescan's holder check likewise found no unnamed holder. No non-free wording, no other licence and no unlicensed third-party code were found, and the only relicensing recorded (GPL-3 to PostgreSQL License in the upstream license file and file headers) is consistent throughout the 2.0.5 tree.
Packaging
Team-standard PGXS packaging: debhelper-compat 13 with the pgxs_loop addon, debian/control generated from control.in with PGVERSION=19, working dependency substitution, and debian/tests/installcheck plus tests/control for autopkgtest. Build-dependencies exist in the archive, Standards-Version is current (4.7.4 vs Policy 4.7.4.1), the changelog is consistent, and Vcs fields are present. No patches, no maintainer scripts, and nothing in rules or the install path is wrong.
Issues
None.
Verified ◂
- Read debian/copyright in full: machine-readable DEP-5 with the correct Format URL, a Files: * stanza, a Files: debian/* stanza, and one stand-alone License: PostgreSQL paragraph.
- Enumerated all 52 non-debian files (glob with gitignore false, .pc/ excluded); no generated programs, bytecode, minified code, archives, PDFs or images are present, and there are no patches, so the tree is the orig tarball plus debian/.
- Tree-wide grep for Copyright, (C), ©, SPDX-License-Identifier, GPL/LGPL, Apache, MPL, public domain, All rights reserved, non-commercial, no modification: notices occur only in LICENSE, README.md, CLAUDE.md, src/pg_background.c, src/pg_background.h, src/pg_background_internal.h, src/pg_background_worker.c and windows/pg_background_win.h, all naming Vibhor Kumar and contributors and/or the PostgreSQL Global Development Group, which Files: * names.
- Read LICENSE in full; debian/copyright's stand-alone License: PostgreSQL paragraph reproduces it verbatim, which is required because the PostgreSQL Licence is not in /usr/share/common-licenses.
- The prescan's dfsg-author-check reported no holder missing; I independently confirmed the src/ and windows/ headers name only the holders debian/copyright lists.
- expected/.out are the expected regression output for sql/.sql (pg_regress test data), not installed and covered by Files: ; extension/.sql, sql/.sql and scripts/.sh carry no separate notice and are also covered by Files: *.
- windows/vs2010/, windows/vs2017/ and windows/vscmake/ project files and .github/workflows/ci.yml are Windows/GitHub CI build files with no third-party notice and are not installed; the same is true of .github/copilot-instructions.md and CLAUDE.md (project documentation).
- .claude/scheduled_tasks.lock is runtime state of the Claude Code tool (session id and PID), .editorconfig and .gitignore are repo configuration; none is code or carries a third-party notice, and all are covered by Files: *.
- Read all of debian/ (control, control.in, rules, changelog, copyright, docs, pgversions, gitlab-ci.yml, source/format, tests/control, tests/installcheck).
- man dh_pgxs_test(1) confirms the pgxs_loop sequence runs pg_buildext installcheck after dh_auto_install, so postgresql-all <!nocheck> is the right dependency for the in-build tests; debian/tests/installcheck exists and runs pg_buildext installcheck.
- apt-cache: postgresql-common-dev, postgresql-all and postgresql-server-dev-all are in the archive at version 297, so all Build-Depends/autopkgtest names are satisfiable; postgresql-19-pg-background is this package's own binary.
- debian/tests/control's @ is autopkgtest's placeholder for the source package's binaries (autopkgtest specification, Control fields), so the stanza is valid; Restrictions allow-stderr is consistent with the extension's verbose output.
- Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1; source format 3.0 (quilt) with no patches; changelog entries are in order, target unstable, and 2.0.5-1 matches the orig tarball.
- The generated debian/control differs from debian/control.in only by PGVERSION -> 19, and carries ${misc:Depends}, ${shlibs:Depends}, ${postgresql:Depends} and ${postgresql:Breaks} as the team's tooling expects.
- uscan found the packaged version as the newest upstream release (upstream
2.0.5, packaged2.0.5).
Not confirmed ◂
- The GPL-3 to PostgreSQL Licence change recorded in debian/copyright's Comment (upstream commit ed1f6316) could not be checked: no URL access, and only the 2.0.5 source is available. The licensing conclusion rests on the current LICENSE and the file headers in this tree.
- postgresql-common-dev is not installed on the reviewing system, so I could not read pg_buildext and cannot follow debian/tests/installcheck (pg_buildext installcheck) end to end in a bare autopkgtest environment; whether it obtains PGXS/pg_config from something postgresql-common-dev or the binary package pulls in would show at test time.
Proposed changes ◂
None.
Review Information
accepted — allocated to awm 1 hour ago, started 1 hour ago, completed 1 hour ago.
Final Comment
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 1.9.1-1 | f07dfe09… | 2026-04-09 06:31 | 2026-04-09 08:03 | awm | accepted | VIEW |