postgresql-set-user 4.3.0-2
Package Information
| Description | PostgreSQL privilege escalation with enhanced logging and control The set_user PostgreSQL extension allows switching users and optional privilege escalation with enhanced logging and control. It provides an additional layer of logging and control when unprivileged users must escalate themselves to superuser or object owner roles in order to perform needed maintenance tasks. |
|---|---|
| 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/postgresql-set-user.git (browse) |
| Popcon Installs | 34 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/postgresql-set-user |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Source | postgresql-set-user |
|---|---|
| Version | 4.3.0-2 |
| Changed-By | Christoph Berg <myon@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Wed, 25 Nov 2026 18:00:16 +0100 |
Changelog
postgresql-set-user (4.3.0-2) unstable; urgency=medium . * Upload for PostgreSQL 19. * Copyright overhaul.
.dsc
| Section | database |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | postgresql-19-set-user deb database optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: set-user Source: https://github.com/pgaudit/set_user Files: * Copyright: Copyright 2015-2025 Crunchy Data Solutions, Inc. Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group Portions Copyright (c) 1994, The Regents of the University of California License: PostgreSQL Files: src/compatibility.h Copyright: Copyright (c) 2010-2022, PostgreSQL Global Development Group Copyright (c) 2010, Damien Miller License: ISC 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. 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.
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 postgresql-set-user version 4.3.0-2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis 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, has the correct Format line, and every copyright holder found in the tree (Crunchy Data Solutions, PostgreSQL Global Development Group, Damien Miller, The Regents of the University of California, Christoph Berg) is named in it. The PostgreSQL licence and the ISC licence for src/compatibility.h are both DFSG-free and their full texts are included, since neither is in /usr/share/common-licenses. src/compatibility.h's own notices match its stanza, the only third-party code is the declared ISC timingsafe_bcmp() snippet copied from PostgreSQL, and there are no non-free terms, no unlicensed file and no bundled Debian library.
Packaging
Sound, conventional packaging by the Debian PostgreSQL team: debhelper compat 13 with the pgxs_loop addon, a correct multi-version package generation (control generated from control.in; only PostgreSQL 19 exists in unstable, so only postgresql-19-set-user is listed), all build dependencies present and satisfiable, Standards-Version 4.7.4 against Policy 4.7.4.1, 3.0 (quilt) with the applied patch in series, an autopkgtest that builds and runs the regression suite, and a current changelog. The only shortfall is that the single patch carries no DEP-3 header.
Issues
minor packaging 1. debian/patches/includedir_server lacks a DEP-3 header (no Description/Origin/Forwarded fields) ◂
- Files:
debian/patches/includedir_server:1 - Basis: inferred from what was read, not seen directly
- Evidence: First line is a bare sentence:
Install set_user.h to server include dir so .deb files for different PG versions do not conflict, immediately followed by--- a/Makefile; there is noDescription:,Author:/Origin:orForwarded:field. - Problem: The patch is a Debian-specific change to upstream's Makefile install path, but its provenance and upstream status cannot be read from it: the free-standing first line is not a DEP-3
Description:field, and nothing records whether the change was sent upstream or is intentionally Debian-only. Debian's patch-tagging guidelines (DEP-3) ask for an RFC822-style header giving at least Description and Forwarded, which is also what makes later rebases and upstreaming cheap. - Fix: Prepend a DEP-3 header, e.g.
Description: Install set_user.h into includedir_server,Author: Christoph Berg <myon@debian.org>,Forwarded: not-needed(with a sentence saying the versioned include directory is a Debian multi-version requirement), and optionallyOrigin:/Bug:.
Verified ◂
- Read debian/copyright in full: DEP-5 with the correct Format URL, Files: * (PostgreSQL), Files: src/compatibility.h (ISC), Files: debian/* (PostgreSQL), and stand-alone License: PostgreSQL and License: ISC paragraphs with complete texts; no Files-Excluded is needed.
- Prescan's author check (every holder found is named in debian/copyright) is consistent with the tree: grepped all upstream directories (.pc/ excluded) for Copyright/(C)/©/SPDX/permission/GNU/Apache/MPL/public domain/All rights reserved; the only notices are src/set_user.c (Crunchy Data 2015-2025), src/compatibility.h (PostgreSQL Global Development Group 2010-2022, Damien Miller 2010) and LICENSE (Crunchy Data).
- Read LICENSE, src/set_user.c header, src/compatibility.h in full, src/set_user.h, Makefile, set_user.control, README.md, CHANGELOG.md, extension/set_user.sql, sql/set_user.sql, expected/set_user.out, updates/set_user--4.2.0--4.3.0.sql, test/, docbuilder/, .github/workflows/test.yml, .editorconfig, .gitignore; none contains a licence or holder not covered by debian/copyright.
- src/compatibility.h's ISC text and the Damien Miller copyright are reproduced in its copyright stanza; the timingsafe_bcmp() copy from PostgreSQL is third-party code but declared, not an undeclared vendored library.
- No built files are shipped: extension/set_user--4.3.0.sql is generated at build time by the Makefile from extension/set_user.sql and is absent from the tree (.gitignore lists it); no PDF, minified code or archives present.
- Read all of debian/: control vs control.in (PGVERSION substitution; postgresql-19-set-user matches the only PostgreSQL version in unstable), pgversions 14+, rules (dh --with pgxs_loop, override_dh_installdocs, override_dh_pgxs_test), source/format 3.0 (quilt), patches/series, tests/control and tests/installcheck, changelog, gitlab-ci.yml.
- Checked with apt-cache that postgresql-server-dev-all, postgresql-all and postgresql-common-dev exist and that architecture-is-64-bit is provided by architecture-properties; postgresql-19-set-user is this upload's own binary.
- Checked with the policy tool that Policy is 4.7.4.1, so Standards-Version 4.7.4 is current, and with debhelper that compat 13 skips overrides of dh_auto_test under DEB_BUILD_OPTIONS=nocheck (the package has no such override).
- uscan found the packaged version as the newest upstream release (upstream
4.3.0, packaged4.3.0).
Not confirmed ◂
- Whether dh_pgxs_test (the pgxs_loop step overridden in debian/rules, which needs postgresql-all) is itself skipped by dh in a DEB_BUILD_OPTIONS=nocheck build: postgresql-common-dev, which ships the pgxs_loop addon and dh_pgxs_test, is not installed on the reviewing system, so I could not read the addon. If it is not skipped, the
postgresql-all <!nocheck>build-dependency would make such builds fail; the maintainer's clean build would not show it.
Proposed changes ◂
None.
Uploader's response to the LLM review
Minor.
— Christoph Berg (myon), 0 hours ago