DFSG NEW Queue

DFSG, Licensing & New Packages Team

pglogical 2.4.8-3

Package Information

DescriptionLogical Replication Extension for PostgreSQL

The pglogical extension provides logical streaming replication between PostgreSQL instances, using a publish/subscribe model. Contrary to the built-in streaming replication, pglogical can replicate between major versions or different architectures and is not restricted to replicate the entire instance but can selectively replicate arbitrary sets of tables.

Use-Cases include migrations and major-version upgrades, aggregation of several databases into a Data Warehouse, It utilises the Logical Decoding features available since PostgreSQL 9.4 working with low overhead on both provider and subscriber.

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

New Package Report

.changes◂
Version2.4.8-3
Changed-ByChristoph Berg <myon@debian.org>
Architecturesource amd64
Distributionunstable
DateWed, 25 Nov 2026 14:10:17 +0100
Sourcepglogical
Changelog◂
pglogical (2.4.8-3) unstable; urgency=medium
 .
   * Upload for PostgreSQL 19.
   * Copyright overhaul.
.dsc◂
Priorityoptional
Componentmain
Package-Listpostgresql-19-pglogical deb database optional arch=any
Sectiondatabase
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pglogical
Source: https://github.com/2ndQuadrant/pglogical

Files: *
Copyright: Copyright (c) 2015, PostgreSQL Global Development Group
License: PostgreSQL

Files: pglogical_dump/common.c pglogical_dump/compress_io.c
       pglogical_dump/compress_io.h pglogical_dump/dumputils.c
       pglogical_dump/dumputils.h pglogical_dump/keywords.c
       pglogical_dump/kwlookup.c pglogical_dump/parallel.c
       pglogical_dump/parallel.h pglogical_dump/pg_backup_utils.c
       pglogical_dump/pg_backup_utils.h pglogical_dump/pg_dump.c
       pglogical_dump/pg_dump.h pglogical_dump/pg_dump_sort.c
       pglogical_dump/pgtar.h
Copyright: Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
           Portions Copyright (c) 1994, Regents of the University of California
License: PostgreSQL

Files: pglogical_dump/pg_backup_archiver.c
       pglogical_dump/pg_backup_archiver.h pglogical_dump/pg_backup_custom.c
       pglogical_dump/pg_backup.h pglogical_dump/pg_backup_null.c
       pglogical_dump/pg_backup_tar.c
Copyright: Copyright (c) 2000, Philip Warner
License: PostgreSQL

Files: pglogical_dump/pg_backup_directory.c
Copyright: Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
           Portions Copyright (c) 1994, Regents of the University of California
           Portions Copyright (c) 2000, Philip Warner
License: PostgreSQL

Files: docs/pglogical.yml
Copyright: 2019, 2ndQuadrant Limited
License: PostgreSQL

Files: debian/*
Copyright: 2017-2026, Michael Banck <mbanck@debian.org>
           2017-2018, Marco Nenciarini <mnencia@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, 3 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 day ago.

Report◂

DFSG NEW review for pglogical version 2.4.8-3

Summary

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

Licensing

debian/copyright is DEP-5 and its stanzas account for the whole tree: Files: * names the PostgreSQL Global Development Group under the PostgreSQL licence (README.md confirms the copyright was donated to PGDDG), the files vendored by debian/patches/pglogical_dump.patch from PostgreSQL 9.4 carry PGDDG, the Regents of the University of California and Philip Warner, all named, docs/pglogical.yml's 2ndQuadrant Limited is named, and the PostgreSQL licence text (not in /usr/share/common-licenses) is reproduced. No non-free or unclear terms were found.

Packaging

Build-dependencies exist in the archive, Standards-Version 4.7.4 matches current Policy 4.7.4.1, the dh/pgxs packaging is conventional and the control file is correctly generated from control.in. The defects are minor: no tests are run anywhere (debian/tests/control is entirely commented out and dh_pgxs_test is overridden while the test wrappers remain), a 32k-line vendored pg_dump patch and test-only patches are kept although the package no longer supports PostgreSQL 9.4 or runs its tests, and the patch headers lack DEP-3 metadata (pglogical_dump.patch still carries an unfilled dh-make template).

Issues

minor packaging 1. No tests are run: autopkgtests fully disabled and build-time test step overridden, while debian/tests/prove and debian/tests/regresscheck remain ◂
  • Files: debian/tests/control:1-19, debian/rules:5-6, debian/tests/prove, debian/tests/regresscheck
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/tests/control consists only of commented lines (#Tests:, # prove,, # regresscheck,); debian/rules has override_dh_pgxs_test: with the comment # defer testing to autopkgtest.
  • Problem: Every autopkgtest stanza is commented out (changelog 2.4.8-2: "Disable the autopkgtests ... currently don't add any value") and the build-time pgxs test step is overridden with a comment that is no longer true. The result is that the package is never tested, and the two test wrappers and five test-only patches remain as dead files. Policy does not require tests, so this is a quality rather than a Policy issue.
  • Fix: Either re-enable the autopkgtests (without flaky), or remove debian/tests/prove, debian/tests/regresscheck, the empty debian/tests/control, the override_dh_pgxs_test target and the now-unused test-only patches (adapt_tap_tests, test_configuration, test_socketdir, v94_tap_support, alternative_regression_outputs).
minor packaging 2. pglogical_dump.patch (32k lines, vendored PostgreSQL 9.4 pg_dump) is only built for PGVER 94, which debian/pgversions no longer supports ◂
  • Files: debian/patches/pglogical_dump.patch:1, Makefile:101, Makefile:110-111, Makefile:127-138, debian/pgversions:1, debian/copyright:8-32
  • Basis: checked, in the package or with a reference tool
  • Evidence: Makefile: ifeq ($(PGVER),94) ... SCRIPTS += pglogical_dump/pglogical_dump ... SUBDIRS += pglogical_dump; debian/pgversions contains 11+.
  • Problem: The pglogical_dump fork of pg_dump is only built when PGVER is 94, but the package supports 11+ only, so neither the 32k-line patch nor the four debian/copyright stanzas describing its files refer to anything compiled or installed. It is a large obsolete embedded copy of PostgreSQL code and should not be carried without use.
  • Fix: Drop debian/patches/pglogical_dump.patch (and the corresponding pglogical_dump/ stanzas in debian/copyright) now that PostgreSQL 9.4 is out of the supported range; also drop v94_tap_support.patch, which is likewise 9.4-only.
minor packaging 3. Patches lack DEP-3 headers, and pglogical_dump.patch still carries the unfilled dh-make template ◂
  • Files: debian/patches/pglogical_dump.patch:1-27, debian/patches/adapt_tap_tests.patch:1, debian/patches/test_socketdir.patch:1, debian/patches/test_configuration.patch:1, debian/patches/v94_tap_support.patch:1, debian/patches/alternative_regression_outputs.patch:1, debian/patches/pkglibdir:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: pglogical_dump.patch begins Description: <short summary of the patch> / TODO: Put a short summary on the line above and replace this paragraph; the other patches have at most an Index: line and no Description/Origin/Forwarded fields.
  • Problem: The patch header is an unedited dh-make TODO template and the other patches give no statement of purpose, origin or forwarding status, contrary to the DEP-3 practice the team otherwise follows and to the review requirement that patch purpose be clear.
  • Fix: Replace the template with a real Description, Origin/Forwarded and Last-Update for pglogical_dump.patch, and add short DEP-3 headers to the remaining patches (or remove those that are obsolete).
Verified ◂
  • debian/copyright read in full: DEP-5 Format, Files: * (PGDDG, PostgreSQL), pglogical_dump stanzas (PGDDG/UC Regents/Philip Warner), docs/pglogical.yml (2ndQuadrant Limited), debian/* and one stand-alone License: PostgreSQL paragraph with the full text; PostgreSQL is not in /usr/share/common-licenses, so including the text is required and done.
  • Copyright/licence notices collected across all 243 files (grep for Copyright, (C), ©, SPDX, 2ndQuadrant, Regents, Philip Warner): the C sources and compat*/ headers carry only Copyright (c) 2012-2017, PostgreSQL Global Development Group; the pg_dump files carried by pglogical_dump.patch carry PGDDG, UC Regents and Philip Warner, all named in debian/copyright; docs/pglogical.yml carries Copyright 2019 © 2ndQuadrant Limited, named. README.md states the licence is the PostgreSQL License and the copyright was donated to PGDDG.
  • Prescan holder Philip Warner accounted for: named in debian/copyright's Files stanza for pg_backup_archiver.c/.h, pg_backup_custom.c, pg_backup.h, pg_backup_null.c and pg_backup_tar.c.
  • No non-free wording found (grep for non-commercial, no modification, All rights reserved, GNU/Apache/MPL/CC licence names over the whole tree): no hits.
  • Packaging files read: control, control.in, rules, changelog, source/format, pgversions, clean, gitlab-ci.yml, tests/control, tests/prove, tests/regresscheck, patches/series and the heads of all patches.
  • Build-dependencies checked with apt-cache: postgresql-server-dev-all 297, krb5-multidev 1.22.3-1 and libselinux-dev 3.11-2.1 exist; architecture-is-64-bit is provided by architecture-properties 0.2.6+b2.
  • Standards-Version 4.7.4 compared with the installed Policy 4.7.4.1: current enough.
  • Autopkgtest specification (policy document 'autopkgtest') confirms a control file with zero stanzas is valid, so the fully commented debian/tests/control is not a parse error, only a loss of testing.
  • dh_installdocs -A/--all and dh_auto_test/nocheck behaviour at compat 13 checked with the man and debhelper tools; no false-positive items reported.
  • uscan found the packaged version as the newest upstream release (upstream 2.4.8, packaged 2.4.8).
Not confirmed ◂
  • No build or test execution was possible; the review assumes the package builds and its (currently disabled) tests would pass.
  • debian/upstream/signing-key.asc was not opened (binary GPG key); it falls under the debian/* stanza.
  • The .dsc and tarballs beside the tree were not diffed against the unpacked tree; the pglogical_dump directory is known to come from debian/patches/pglogical_dump.patch, as the prescan states.
Proposed changes ◂

None.

Uploader's response to the LLM review

None of the complaints are valid. The tests are broken and hence disabled, but the files remain in place so we can re-enable them once the upstream tests gets fixed. The 9.4 patch is indeed obsolete, but why care.

— Christoph Berg (myon), 1 day ago

Back to Dashboard | View all reviews for this package