Repository navigation
License register missing for main - #2063
Merged
Merged
Conversation
pg_cron's bitstring.h carries the pre-4.4BSD form of the University of
California license, which asks that documentation and advertising
materials acknowledge UC Berkeley. Replace it with FreeBSD's
sys/sys/bitstring.h from stable/10, the same Berkeley code after UC
Berkeley deleted the advertising clause (FreeBSD commit 82c6e8799148).
That leaves it under the plain 3-clause BSD license, which RAT
recognizes, so drop its exclude.
The macros pg_cron uses (bit_decl, bit_set, bit_test, bit_nset and
bit_nclear) behave the same; the multi-statement ones are now wrapped
in do { } while (0).
Assisted-by: Claude Code
Add LICENSE entries, with the license texts under licenses/, for bundled code that LICENSE did not list: - pg_cron's copy of Vixie cron (entry.c, misc.c, cron.h) and Berkeley's bitstring.h (BSD-3). - From PostgreSQL: the Snowball stemmers and stop words (BSD-3), strftime.c (BSD-3), pg_bsd_indent (BSD-3, BSD-2 for indent.h), HyperLogLog (MIT), LLVM's SectionMemoryManager (Apache-2.0 with LLVM Exceptions), the IANA time zone code and data (public domain), and the Project X0213 and ICU mapping tables. - From Greenplum: cmockery (Apache-2.0). Exclude the two license texts that RAT does not recognize. Assisted-by: Claude Code
Member
Author
WhatTwo commits:
REL_2_STABLEThe REL_2_STABLE version is #2059. It has the same bitstring.h commit, but its Verification
|
13 tasks
leborchuk
approved these changes
Sep 30, 2026
leborchuk
left a comment
Contributor
There was a problem hiding this comment.
LGTM, the same PR as for REL_2_STABLE
MisterRaindrop
approved these changes
Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #ISSUE_Number
What does this PR do?
Type of Change
Breaking Changes
Test Plan
make installcheckmake -C src/test installcheck-cbdb-parallelImpact
Performance:
User-facing changes:
Dependencies:
Checklist
Additional Context
CI Skip Instructions