DFSG NEW Queue

DFSG, Licensing & New Packages Team

pgpool2 4.7.3-2

Package Information

Descriptionconnection pool server and replication proxy for PostgreSQL

pgpool-II is a middleware that works between PostgreSQL servers and a PostgreSQL database client. It provides the following features:

* Connection Pooling * Replication * Load Balance * Limiting Exceeding Connections * Parallel Query

pgpool-II talks PostgreSQL's backend and frontend protocol, and relays a connection between them. Therefore, a database application (frontend) thinks that pgpool-II is the actual PostgreSQL server, and the server (backend) sees pgpool-II as one of its clients. Because pgpool-II is transparent to both the server and the client, an existing database application can be used with pgpool-II almost without a change to its sources.

This is version 3 of pgpool-II, the second generation of pgpool.

MaintainerDebian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed ByChristoph Berg <myon@debian.org>
Sponsormyon@debian.org
Distributionunstable
Architecturelinux-any
VCSgit: https://salsa.debian.org/postgresql/pgpool2.git (browse)
Popcon Installs57
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/pgpool2
Uploaded1 hour ago

New Package Report

.changes◂
Changed-ByChristoph Berg <myon@debian.org>
Architecturesource amd64
Distributionunstable
DateThu, 26 Nov 2026 10:58:09 +0100
Sourcepgpool2
Version4.7.3-2
Changelog◂
pgpool2 (4.7.3-2) unstable; urgency=medium
 .
   * Upload for PostgreSQL 19.
   * Copyright overhaul.
.dsc◂
Sectionlibdevel
Priorityoptional
Componentmain
Package-Listlibpgpool-dev deb libdevel optional arch=linux-any
libpgpoolpcp3 deb libs optional arch=linux-any
pgpool2 deb database optional arch=linux-any
postgresql-19-pgpool2 deb database optional arch=linux-any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pgpool-II
Source: https://www.pgpool.net/

Files: *
Copyright:
 2003-2026 PgPool Global Development Group
 1996-2026 PostgreSQL Global Development Group
 2000-2006 PostgreSQL Global Development Group various details abducted from various places
 1994 Regents of the University of California
 2017-2018 Tatsuo Ishii
License: NTP

Files: src/parser/gram.c
       src/parser/gram.h
       src/parser/gram_minimal.c
       src/parser/gram_minimal.h
Copyright: 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation, Inc.
License: GPL-3+ with Bison-2.2 exception

Files: src/parser/snprintf.c
       src/utils/getopt_long.c
       src/utils/sha2.c
       src/include/utils/sha2.h
Copyright:
 1983, 1995, 1996 Eric P. Allman
 1987, 1988, 1993, 1994 Regents of the University of California
 2000-2001 Aaron D. Gifford
 2003-2026 PgPool Global Development Group
 1996-2026 PostgreSQL Global Development Group
License: BSD-3-clause

Files: src/utils/json.c
       src/include/utils/json.h
Copyright:
 2003-2015 PgPool Global Development Group
 2012, 2013, 2014 James McLaughlin et al.
License: BSD-2-clause and/or NTP

Files: src/utils/strlcpy.c
Copyright:
 1998 Todd C. Miller <Todd.Miller@courtesan.com>
 2003-2008 PgPool Global Development Group
 1996-2006 PostgreSQL Global Development Group
License: ISC

Files: doc/src/sgml/legal.sgml
       doc.ja/src/sgml/legal.sgml
Copyright:
 2003-2026 PgPool Global Development Group
 1996-2023 PostgreSQL Global Development Group
License: PostgreSQL

Files: INSTALL
Copyright: 1994-1996, 1999-2002, 2004-2011 Free Software Foundation, Inc.
License: FSFAP

Files: config.guess
       config.sub
Copyright: 1992-2018 Free Software Foundation, Inc.
License: GPL-3+ with Autoconf-data exception

Files: debian/*
Copyright:
 Christoph Berg <myon@debian.org>
 Marco Nenciarini <mnencia@debian.org>
 Adrian Vondendriesch <adrian.vondendriesch@credativ.de>
License: NTP

License: NTP
 Permission to use, copy, modify, and distribute this software and
 its documentation for any purpose and without fee is hereby
 granted, provided that the above copyright notice appear in all
 copies and that both that copyright notice and this permission
 notice appear in supporting documentation, and that the name of the
 author not be used in advertising or publicity pertaining to
 distribution of the software without specific, written prior
 permission.  The author makes no representations about the
 suitability of this software for any purpose.  It is provided "as
 is" without express or implied warranty.

License: GPL-3+ with Bison-2.2 exception
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 As a special exception, you may create a larger work that contains
 part or all of the Bison parser skeleton and distribute that work
 under terms of your choice, so long as that work isn't itself a
 parser generator using the skeleton or a modified version thereof
 as a parser skeleton.  Alternatively, if you modify or redistribute
 the parser skeleton itself, you may (at your option) remove this
 special exception, which will cause the skeleton and the resulting
 Bison output files to be licensed under the GNU General Public
 License without this special exception.
 .
 This special exception was added by the Free Software Foundation in
 version 2.2 of Bison.
 .
 On Debian GNU/Linux systems, the complete text of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL-3'.

License: GPL-3+ with Autoconf-data exception
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 As a special exception to the GNU General Public License, if you
 distribute this file as part of a program that contains a
 configuration script generated by Autoconf, you may include it under
 the same distribution terms that you use for the rest of that
 program.  This Exception is an additional permission under section 7
 of the GNU General Public License, version 3 ("GPLv3").
 .
 On Debian GNU/Linux systems, the complete text of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL-3'.

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 3. Neither the name of the copyright holder nor the names of its
    contributors may be used to endorse or promote products derived
    from this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: BSD-2-clause and/or NTP
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 .
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .
 Permission to use, copy, modify, and distribute this software and
 its documentation for any purpose and without fee is hereby
 granted, provided that the above copyright notice appear in all
 copies and that both that copyright notice and this permission
 notice appear in supporting documentation, and that the name of the
 author not be used in advertising or publicity pertaining to
 distribution of the software without specific, written prior
 permission.  The author makes no representations about the
 suitability of this software for any purpose.  It is provided "as
 is" without express or implied warranty.

License: ISC
 Permission to use, copy, modify, and distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
 copyright notice and this permission notice appear in all copies.
 .
 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
 WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
 WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL THE
 AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA
 OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 PERFORMANCE OF THIS SOFTWARE.

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.

License: FSFAP
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
 notice and this notice are preserved.  This file is offered as-is,
 without any warranty.

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

Report◂

DFSG NEW review for pgpool2 version 4.7.3-2

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • 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: 4 found

Licensing

All licences in the tree are free and mutually compatible: the pgpool/PostgreSQL NTP-style permission, BSD-2-clause, BSD-3-clause, ISC, GPL-3+ with the Bison 2.2 exception, the Autoconf/Libtool GPL exceptions and the FSF all-permissive notice. No non-commercial, no-modification or field-of-use wording exists anywhere, and the special files (parser/gram.c, snprintf.c, getopt_long.c, sha2.c, json.c, strlcpy.c, config.guess, config.sub, INSTALL, legal.sgml) are correctly stanzas. debian/copyright is DEP-5 and complete for the code, but it does not describe install-sh at all, and its blanket NTP stanza therefore misdescribes that file, which is under the X Consortium's MIT/X11 permission.

Packaging

Professionally maintained packaging: a DEP-14 git layout, 3.0 (quilt), debhelper compat 13, versioned module packages generated through pg_buildext/postgresql-server-dev-all, ucf-managed pgpool.conf, a systemd unit with a matching init script, autopkgtests, Vcs-* fields, current Standards-Version and sane maintscripts. I found two minor defects: debian/pgpool2.postinst's port substitution never matches the shipped sample, and libpgpool-dev's installed headers are not self-contained. Neither is introduced by this upload.

Issues

minor licensing 1. debian/copyright does not name install-sh (X Consortium, MIT/X11 licence) ◂
  • Files: install-sh:10, debian/copyright
  • Basis: checked, in the package or with a reference tool
  • Evidence: install-sh:10: # Copyright (C) 1994 X Consortium followed by Permission is hereby granted, free of charge, to any person obtaining a copy ... The above copyright notice and this permission notice shall be included in all copies ...; the Files: * stanza names neither X Consortium nor any licence other than NTP.
  • Problem: install-sh is matched only by the catch-all Files: * stanza, which declares NTP; the file actually carries the X Consortium's MIT/X11 permission (with the FSF's changes marked public domain). install-sh is an autoconf auxiliary used only during the build and is listed in no .install file, so Policy 2.3 does not require its notice in /usr/share/doc/pgpool2/copyright, and its own text travels with the source tarball; the DFSG team nevertheless asks for a complete copyright file, and the licence currently stated for it is wrong.
  • Fix: Add a Files: install-sh stanza with Copyright: 1994 X Consortium and License: X11 (or MIT), reproducing the permission text, and note that the FSF changes are in the public domain.
minor packaging 2. postinst's port substitution can never match the shipped config sample ◂
  • Files: debian/pgpool2.postinst:51, src/sample/pgpool.conf.sample:40, debian/README.Debian
  • Basis: checked, in the package or with a reference tool
  • Evidence: sed -e "s/^port\s*=\s*[0-9]*/port = $LPORT/" /usr/share/pgpool2/pgpool.conf, where the file is the sample moved by debian/rules and contains #port = 9999.
  • Problem: The sample's port line is commented out, so the anchored ^port substitution never applies: the value taken from the existing config or from next_free_port is discarded. A fresh install therefore leaves the port unset and pgpool listens on its compiled default 9999 (src/config/pool_config_variables.c:1975), while debian/README.Debian tells users the Debian default is 5433; on upgrade the new config version offered by ucf also has no port line.
  • Fix: Match the commented line (for example s/^#?port\s*=\s*[0-9]*/port = $LPORT/) or uncomment the port in src/sample/pgpool.conf.sample, and reconcile README.Debian with the actual default.
minor packaging 3. libpgpool-dev installs headers that cannot be compiled against ◂
  • Files: debian/libpgpool-dev.install:1, src/libs/pcp/Makefile.am:17, src/include/pcp/pcp.h:27, src/include/pcp/pcp.h:28, src/include/pool_type.h:29, src/include/pool_type.h:33, src/include/pcp/libpcp_ext.h:35, debian/control:78
  • Basis: inferred from what was read, not seen directly
  • Evidence: include_HEADERS = ../../../src/include/pcp/pcp.h ... libpcp_ext.h pool_type.h pool_process_reporting.h installs four headers flat in /usr/include/pgpool2; pcp.h then does #include "pool_config.h", pool_type.h does #include "config.h" and #include "libpq-fe.h", and libpcp_ext.h does #include "parser/pg_config_manual.h" unless PGPOOL_ADM. None of pool_config.h, config.h or parser/pg_config_manual.h is installed, and libpgpool-dev does not depend on libpq-dev.
  • Problem: Policy 8.4 requires the development package to install all files needed to compile against the library. As installed, #include <pcp.h> fails immediately on the missing pool_config.h (and the other shipped headers fail on config.h, libpq-fe.h and parser/pg_config_manual.h), so the package cannot be used by any external program.
  • Fix: Install the headers the public ones include, preserving their pcp/, parser/ and utils/ subdirectories, or make the installed headers self-contained, and add libpq-dev to libpgpool-dev's Depends.
Verified ◂
  • Read every file under debian/ except debian/watch (not reviewed): control, control.in, rules, changelog, copyright, the .install/.docs/.examples/.manpages files, preinst/postinst/postrm, tmpfiles, service, init.d, default, patches/series and both patches, tests/, source/, gbp.conf, pgversions, clean and gitlab-ci.yml.
  • debian/copyright is machine-readable with the correct Format URL; its stanzas match the notices in COPYING/AUTHORS, doc/src/sgml/legal.sgml, doc.ja/src/sgml/legal.sgml, gram.c/gram.h (Bison 3.7.4, GPL-3+ with Bison-2.2 exception), snprintf.c, getopt_long.c, sha2.c, sha2.h (BSD-3-clause), json.c (BSD-2 and/or NTP), strlcpy.c (ISC), config.guess/config.sub (GPL-3+ with Autoconf exception) and INSTALL (FSFAP).
  • Grepped the whole tree for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/GNU/Apache/Mozilla/public domain/All rights reserved and for non-commercial, no-modification and field-of-use wording: no non-free terms and no further named holder.
  • Generated files have their inputs in the tree: gram.c/gram.h from gram.y, scan.c from scan.l, psqlscan.c from psqlscan.l, pool_config.c from pool_config.l, and the doc/src/sgml/html and doc.ja/src/sgml/html pages from the .sgml files in doc/src/sgml and doc.ja/src/sgml.
  • doc/src/figures/cluster.odp, doc/src/figures/process-diagram.odp, doc.ja/src/figures/cluster.odp and doc.ja/src/figures/process-diagram.odp are OpenDocument (.odp) files sitting next to the rendered cluster.gif/process-diagram.gif in the same directories; they are documentation figure documents, not built code, and no third-party notice accompanies them.
  • install-sh is listed by no .install file and is used only by the autoconf build, so it reaches no binary package.
  • The 'The Pgpool Global Development Group</P' string at doc/src/sgml/html/index.html:44 and doc.ja/src/sgml/html/index.html:44 is the same holder as 'PgPool Global Development Group' in Files: *, differing only in capitalisation and trailing markup.
  • The FSF-generated autotools helpers (configure, Makefile.in, aclocal.m4, compile, missing, ylwrap, ltmain.sh, m4/*.m4) were read and are build-only, so Policy 2.3 does not require their notices in debian/copyright.
  • debian/control's sole postgresql-19-pgpool2 is consistent with postgresql-server-dev-all 297, whose server-dev dependency in the archive is postgresql-server-dev-19 (apt-cache), i.e. pg_buildext's 'all' in debian/pgversions.
  • Patches: pgpool2-debian-config.patch has DEP-3 style From/Date/Subject headers and changes only local defaults; the second series entry is a backported upstream commit whose purpose is stated in its commit message.
  • uscan found the packaged version as the newest upstream release (upstream 4.7.3, packaged 4.7.3).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
  • The four .odp files are binary; their contents (embedded images, fonts) were not opened or listed, so any third-party material inside them could not be checked.
  • No build or autopkgtest was run in the read-only tree; libpgpool-dev's unusability is established from the installed-header list and the include graph, not by compiling a consumer.
Proposed changes ◂

None.

Uploader's response to the LLM review

#772047

— Christoph Berg (myon), 0 hours ago

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

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
4.7.1-1 8d57536b… 2026-02-26 11:06 2026-02-26 11:11 mechtilde accepted VIEW

Back to Dashboard | View all reviews for this package