orafce 4.17.2-1
Package Information
| Description | Oracle support functions for PostgreSQL 19 This project implements some functions for compatibility with Oracle. The functionality was verified on Oracle 10g, and the module is useful for production work. |
|---|---|
| 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/orafce.git (browse) |
| Popcon Installs | 14 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/orafce |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Architecture | source amd64 |
|---|---|
| Distribution | unstable |
| Date | Tue, 24 Nov 2026 16:55:39 +0100 |
| Source | orafce |
| Version | 4.17.2-1 |
| Changed-By | Christoph Berg <myon@debian.org> |
Changelog
orafce (4.17.2-1) unstable; urgency=medium . * New upstream version 4.17.2. * Upload for PostgreSQL 19. * Annotate B-D postgresql-all with <!nocheck>. * Copyright overhaul.
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | postgresql-19-orafce deb database optional arch=any |
| Section | database |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: orafce
Source: https://github.com/orafce/orafce
Files: *
Copyright: 2008-2026 Pavel Stehule <pavel.stehule@gmail.com>
2008-2023 Orafce Global Development Group
License: 0BSD
Files: sqlparse.c sqlparse.h
Copyright: 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, Inc.
License: GPL-3+ with Bison-2.2 exception
Files: debian/*
Copyright: 2026 Christoph Berg <myon@debian.org>
License: 0BSD
License: 0BSD
0-clause license ("Zero Clause BSD")
.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
.
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: 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.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public License
version 3 can be found in the file
`/usr/share/common-licenses/GPL-3'.
.
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.
DFSG Assistant LLM REVIEW 3 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 orafce version 4.17.2-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 3 blocker, 0 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 2 found
Licensing
debian/copyright is DEP-5 and its Bison stanza matches sqlparse.c/sqlparse.h, but Files: * assumes the whole tree is Pavel Stehule's 0BSD code. Several compiled-in files embed third-party work whose holders and terms it does not record: PostgreSQL's parser scanner (sqlscan.l, generated sqlscan.c) and varlena.c (dbms_assert.c), Jan Pazdziora's postgresql-nls-string nlssort code (others.c), and Steven Feuerstein's PL/Vision (plvdate.c, plvlex.c, plvstr.c, plvsubst.c, utility.c). The licences themselves are free and mutually compatible; the copyright file is inaccurate and incomplete.
Packaging
Modern, correctly generated pkg-postgresql packaging: control from control.in with ${postgresql:Depends} and ${postgresql:Breaks}, PGXS loop build, compat 13, current Standards-Version 4.7.4, an installcheck autopkgtest with correct <!nocheck> build dependencies, and a sane unstable changelog. Only the two test-disabling patches fall short of DEP-3 conventions.
Issues
blocker
licensing
1. Files: * files PostgreSQL-derived sqlscan.l/sqlscan.c and dbms_assert.c under 0BSD and names no PostgreSQL holder
◂
- Files:
debian/copyright:5-8,sqlscan.l:139,sqlscan.c:1,sqlparse.y:135,dbms_assert.c:80-82 - Basis: inferred from what was read, not seen directly
- Evidence: sqlscan.l:
* XXX if you change the set of whitespace characters, fix scanner_isspace() to agree, and see also the plpgsql lexer.; dbms_assert.c:* Procedure ParseIdentifierString is based on SplitIdentifierString/* from varlena.c.; debian/copyright:Files: *…License: 0BSD - Problem: sqlscan.l reproduces PostgreSQL's src/backend/parser/scan.l almost wholesale: the
dolq*,xq/xe/xdolqstate rules,param,operator,dolqdelim, theliteralbuf/startlit/addlit/litbufdup/unescape_single_charhelpers,dolqstartandxcdepth, and comments such as "Older versions of Postgres failed to recognize -- as a comment" and thescanner_isspace()/plpgsql lexer note are verbatim. sqlscan.c is its flex output and is compiled into the module (sqlparse.y ends with#include "sqlscan.c", sqlparse.o is inOBJSand in meson'ssources). dbms_assert.c's ParseIdentifierString is stated in the file to be an adaptation of PostgreSQL's varlena.c. This is PostgreSQL code under the PostgreSQL licence, which requires its copyright notice to be kept in copies; the notices have been removed and debian/copyright attributes the files to Pavel Stehule under 0BSD. Policy 2.3 requires the notices of compiled-in files in debian/copyright. - Fix: Add a
Files:stanza naming the PostgreSQL Global Development Group and The Regents of the University of California, with the PostgreSQL licence text, covering sqlscan.l, the generated sqlscan.c and the adapted part of dbms_assert.c, and stop claiming 0BSD for them.
blocker
licensing
2. Files: * does not name Jan Pazdziora, whose postgresql-nls-string nlssort code is compiled into others.c
◂
- Files:
others.c:45-47,debian/copyright:5-8 - Basis: inferred from what was read, not seen directly
- Evidence: others.c:
* Source code for nlssort is taken from postgresql-nls-string/* package by Jan Pazdziora - Problem: others.o is compiled into orafce.so (Makefile
OBJS, mesonsources). debian/copyright names neither this holder nor the licence of postgresql-nls-string, andFiles: *attributes the file to Pavel Stehule under 0BSD. That package's terms appear nowhere in the source, so the licensing of the nlssort part of the shipped binary is unstated and Policy 2.3's notice requirement cannot be met. - Fix: Add a
Files:stanza for others.c (or a combined stanza) naming Jan Pazdziora and the actual licence of postgresql-nls-string, with its text, and confirm it is compatible with the rest of the module.
blocker
licensing
3. Files: * does not name Steven Feuerstein for the PL/Vision code in plvdate.c, plvlex.c, plvstr.c, plvsubst.c and utility.c
◂
- Files:
plvdate.c:7-9,plvlex.c:5-6,plvstr.c:5-6,plvsubst.c:5-6,utility.c:5-6,plvdate.c:11,debian/copyright:5-8 - Basis: inferred from what was read, not seen directly
- Evidence:
* This code implements one part of functonality of/* free available library PL/Vision.…* Original author: Steven Feuerstein, 1996 - 2002…* This module is under BSD Licence - Problem: Each of these five headers says the file implements part of the PL/Vision library, names Steven Feuerstein as original author, and states the module is under a BSD licence; all five are compiled into orafce.so (Makefile
OBJS, mesonsources). debian/copyright records only Pavel Stehule forFiles: *under 0BSD, so the original author and the BSD terms of the derived parts are not reproduced. A BSD licence requires the original notice in copies, so Policy 2.3 applies to these compiled-in files. - Fix: Add a
Files:stanza for the five files naming Steven Feuerstein (and Quest Software if it holds the rights) and the BSD licence terms of PL/Vision with their text, and record the combined licence of those files.
minor packaging 4. Patches have no DEP-3 headers and no-random drops the dbms_random regression test without explanation ◂
- Files:
debian/patches/no-random,debian/patches/regress-no-alert,debian/patches/series - Basis: checked, in the package or with a reference tool
- Evidence: no-random starts
--- a/Makefilewith no description at all and deletesdbms_randomfromREGRESS; regress-no-alert only has# Skip the dbms_alert tests, they cause random build failures due to concurrency - Problem: Neither patch has the DEP-3
Description/Forwardedfields that document purpose and upstream status, and no-random silently removes an upstream regression test from both the package build and the autopkgtest (pg_buildext installcheck) with no recorded reason, so the loss of coverage cannot be judged or revisited. - Fix: Add DEP-3 headers stating the reason for each patch and whether it is forwarded upstream, and a one-line explanation for the dbms_random removal; drop either patch if the flakiness has since been fixed upstream.
Verified ◂
- Read every file under debian/ (control, control.in, rules, changelog, copyright, patches/series and both patches, tests/control, tests/installcheck, source/format, pgversions, gitlab-ci.yml) and read all of upstream's top-level files; the 171-file tree was covered by directory listings and a tree-wide grep for copyright/licence wording.
- sqlparse.c and sqlparse.h are GNU Bison 3.8.2 output from the in-tree sqlparse.y; their FSF notice and the
GPL-3+ with Bison-2.2 exceptionstanza and text in debian/copyright match them exactly. - sqlscan.c is flex output generated from the in-tree sqlscan.l; see the licensing issue about its PostgreSQL origin.
doc/orafce_documentation/gif/Thumbs.dbanddoc/sql_migration/gif/Thumbs.dbare Windows Explorer thumbnail-cache databases shipped by upstream: binary, unreferenced by any document, not build products and containing no licence text; doc/ is not installed (debian/rules installs only README.asciidoc), so they do not reach a binary package.- The GIFs under doc/*/gif (ADD_MONTHS.gif, DBMS_PIPE_flow.gif, STRPOSB.gif and the rest) are syntax-diagram images referenced from the Markdown chapters (e.g.
) and are covered byFiles: *; they carry no separate notice. - LICENSE and COPYRIGHT.orafce are identical 0BSD texts, and README.asciidoc's "License" section says the module is released under a BSD licence; all other .c/.h files without a notice fall under that declaration except where the licensing issues above apply.
- Upgrade scripts orafce--.sql, test inputs sql/.sql, expected outputs expected/*.out, msvc/ project files, .github/workflows, meson.build, Makefile, install_bindist.py and typedefs_gen.py are upstream's own files with no third-party notices, covered by
Files: *. - Standards-Version 4.7.4 is current against Policy 4.7.4.1 (first two components 4.7).
- debian/control is generated from control.in;
postgresql-server-dev-allis version 297 in the archive and brings postgresql-common-dev for the pgxs_loop addon;${postgresql:Depends}/${postgresql:Breaks}are the pkg-postgresql substvars, and at compat 13 all needed substvars are listed. locales-all <!nocheck>andpostgresql-all <!nocheck>are used only by the regression tests, which dh skips at compat 13 under nocheck; the Build-Depends marking is correct.- The autopkgtest (debian/tests/control + installcheck running
pg_buildext installcheckwith LANG=en_US.utf8) matches what the build's test phase needs; changelog is for unstable, 4.17.2-1, signed by the maintainer in control; source format is 3.0 (quilt); there are no maintainer scripts or install/docs/links files. - debian/copyright is machine-readable DEP-5, so no replacement file is proposed.
- uscan found the packaged version as the newest upstream release (upstream
4.17.2, packaged4.17.2). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
- random.c:365-376 contains
ltqnorm()withAuthor: Peter J. Acklamand "C implementation adapted from Peter's Perl version"; the package carries no licence terms for that code, so whether his notice must be reproduced in debian/copyright could not be established. - The provenance of the doc/*.md chapters and their GIF diagrams (they read like vendor-written Oracle compatibility documentation) cannot be determined from the package; they carry no notices of their own.
- The package could not be built or its tests run in this read-only review, so the
no-randomreason and therm -r .../postgresql-doc-*line in debian/rules were not exercised.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.