Review: postgresql-pllua 1:2.0.12-9
Package Information
| Description | Lua procedural language for PostgreSQL 19 PL/Lua is an implementation of Lua as a loadable procedural language for PostgreSQL: with PL/Lua you can use PostgreSQL functions and triggers written in the Lua programming language. It brings the power and simplicity of Lua to PostgreSQL, including: small memory footprint, simple syntax, lexical scoping, functions as first-class values, and coroutines for non-preemptive threading. This package is based on pllua-ng. |
|---|---|
| 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-pllua.git (browse) |
| Popcon Installs | 34 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/postgresql-pllua |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Source | postgresql-pllua |
|---|---|
| Version | 1:2.0.12-9 |
| Changed-By | Christoph Berg <myon@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Wed, 25 Nov 2026 17:39:05 +0100 |
Changelog
postgresql-pllua (1:2.0.12-9) unstable; urgency=medium . * Upload for PostgreSQL 19. * Copyright overhaul.
.dsc
| Section | database |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | postgresql-19-pllua deb database optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pllua Upstream-Contact: Andrew Gierth <rhodiumtoad@postgresql.org> Source: https://github.com/pllua/pllua Files: * Copyright: 2008 Luis Carvalho <lexcarvalho@gmail.com> 2012-2013 codingow.com 2017-2018 Andrew Gierth Comment: Eugene Sergeev <eugeney.sergeev@gmail.com> is credited as an upstream author of earlier versions of PL/Lua. License: Expat Files: src/pllua_luajit.h Copyright: 2015 Kepler Project 2017-2018 Andrew Gierth License: Expat Files: src/plerrcodes_old.h hstore/old_inc/hstore/hstore.h Copyright: 1996-2026, PostgreSQL Global Development Group 1994, The Regents of the University of California License: PostgreSQL Files: debian/* Copyright: 2008 Fernando Ike de Oliveira <fike@midstorm.org> 2011-2026 Christoph Berg <myon@debian.org> License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: PostgreSQL PostgreSQL Database Management System (formerly known as Postgres, then as Postgres95) . Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group . Portions Copyright (c) 1994, The Regents of the University of California . 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, 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 2 hours ago.
Report
DFSG NEW review for postgresql-pllua version 1:2.0.12-9
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
The tree is Expat (MIT) throughout, with two clearly identified third-party pieces: src/pllua_luajit.h from the Kepler Project's lua-compat-5.3, and PostgreSQL code in src/plerrcodes_old.h and hstore/old_inc/hstore/hstore.h. debian/copyright is DEP-5, names all holders it needs to, gives the Expat and PostgreSQL licence texts in full, and matches the files (year drift only). The scan's one item, doc/endnote.md, names Andrew Gierth, aka RhodiumToad, who is in the Files: * stanza; nothing non-free or unlicensed was found.
Packaging
Standard PostgreSQL-team pgxs_loop packaging: control.in plus generated control, compat 13, correct multiversion package naming, an unconditional postgresql-all build dependency (needed for errcodes.txt), 64-bit restriction through architecture-is-64-bit, two autopkgtests, and five applied patches whose purposes are stated. All Build-Depends names exist in the archive, Standards-Version is current, and I found no policy violation or packaging defect worth reporting.
Issues
None.
Verified ◂
- debian/copyright read in full: DEP-5, Files: * (Expat), src/pllua_luajit.h (Expat/Kepler Project), src/plerrcodes_old.h plus hstore/old_inc/hstore/hstore.h (PostgreSQL licence), debian/* (Expat); the Expat and PostgreSQL licence texts are complete and correctly folded.
- LICENSE holds the Expat text ("MIT License", Copyright (c) 2017 Andrew Gierth); README.md ("License: MIT license") and doc/endnote.md ("Licensed under the terms of the MIT license") agree; a tree-wide grep for Copyright/(C)/©/SPDX/GNU/Apache/Mozilla/public domain/All rights reserved found no other licence wording.
- Prescan item doc/endnote.md: "Copyright © 2017-2021, Andrew Gierth, aka RhodiumToad" names the same holder as Files: * ("2017-2018 Andrew Gierth"); only the year range drifts, and doc/ is not installed (debian/rules runs dh_installdocs --all README.md only).
- src/plerrcodes_old.h (its header says it is copied from plpgsql in pg10) and hstore/old_inc/hstore/hstore.h (contrib/hstore's header, no notice of its own) are PostgreSQL code; the PostgreSQL stanza names the PostgreSQL Global Development Group and the Regents of the University of California and reproduces the PostgreSQL licence in full.
- src/pllua_luajit.h states the derived lua-compat-5.3 code carries "Copyright (c) 2015 Kepler Project"; that holder and the Expat licence are in its own stanza.
- src/pllua.c header says "License: MIT license or PostgreSQL licence"; Files: * selects Expat, which is a valid choice of one of the offered licences.
- doc/logo.svg is documentation artwork; doc/endnote.md records that it uses the PostgreSQL elephant ("Slonik") under the PostgreSQL Project's trademark policy and graphic elements of the Lua logo designed by Alexandre Nakonechnyj; it is not installed in any binary package.
- Upstream inventory (104 files, debian/ and .pc/ excluded) went directory by directory: no built objects, generated HTML, minified JS, archives or vendored libraries; src/.c, src/.lua, hstore/, scripts/, sql/, expected/, tools/, doc/, .github/ are pllua's own sources and test data under LICENSE.
- All debian/ files read: control, control.in, rules, changelog, copyright, tests/control, source/format, patches/series and all five patches, NEWS, pgversions, gitlab-ci.yml; no maintainer scripts, install/links/docs/dirs files, gbp.conf or upstream/metadata exist.
- Build-Depends checked with apt-cache: lua5.3 5.3.6-5, liblua5.3-dev 5.3.6-5, postgresql-all 297 (Depends postgresql-server-dev-all -> postgresql-common-dev and postgresql-server-dev-19, postgresql-19 19.0-2), architecture-is-64-bit provided by architecture-properties 0.2.6+b2; postgresql-contrib-19 is a virtual package provided by postgresql-19, so the binary dependency resolves.
- Standards-Version 4.7.4 against Policy 4.7.4.1: current (first two components match). debhelper-compat (= 13) is supported and not deprecated.
- rules at compat 13: the pgxs_loop overrides (dh_auto_clean, dh_auto_install, dh_installdocs --all README.md, dh_pgxs_test) are consistent with the sequence; postgresql-all is deliberately unconditional because the build needs the server's errcodes.txt (changelog -7, #1122301), so there is no <!nocheck> dependency used outside tests.
- autopkgtest has two Test-Command stanzas depending on @ plus lua5.3/postgresql-common-dev and postgresql-all/postgresql-common-dev, with allow-stderr; the trailing commas separate values and are not a fault.
- Patches: five applied in series order, all Debian-carried changes to upstream 2.0.12; noexecstack cites #1096038, hstore-mklibdir explains the pg_buildext VPATH problem, pg18/pg19 add PG18/PG19 compatibility, triggers.patch is the November-2026 SPI/transition-table fix credited in changelog -8.
- The generated debian/control corresponds to debian/control.in for PGVERSION 19; source format is 3.0 (quilt). No .pc/ or generated files were used as evidence.
- uscan found the packaged version as the newest upstream release (upstream
2.0.12, packaged2.0.12).
Not confirmed ◂
- No build or test suite was run (read-only review); whether the package builds with the nocheck profile and passes its autopkgtests was not re-verified, and the review instructions assume both.
- doc/logo.svg was not opened as an image. Its licensing is judged from doc/endnote.md, which credits the Lua-logo designer but does not state the terms of the incorporated graphic elements; those terms were not verifiable from the package.
- The CVE mentioned in triggers.patch (CVE-2026-120143) and its upstream status were not checked against an external source.
Proposed changes ◂
None.
Uploader's response to the LLM review
The review found no issues, so no response is needed.
Review Information
accepted — allocated to mechtilde 1 hour ago, started 1 hour ago, completed 1 hour ago.