Containerised tests for PG 12-19 and expanded documentation#10
Open
postgresql007 wants to merge 2 commits into
Open
Containerised tests for PG 12-19 and expanded documentation#10postgresql007 wants to merge 2 commits into
postgresql007 wants to merge 2 commits into
Conversation
- test/: a Dockerfile parameterised by PG_MAJOR plus run-tests.sh and run-installcheck.sh to build and run "make installcheck" against every supported major version in throwaway containers. Not-yet-released versions (currently 19) are pulled from the pgdg-snapshot repository. - CI: add PostgreSQL 19 to the regression matrix. - README: document all of the *_permissions views with worked examples, add a desired-vs-actual walkthrough built around permission_diffs() and the updatable views, and add a Compliance section relating the extension to common regulatory frameworks.
Contributor
Author
|
Ran the new container harness locally (
|
Contributor
Author
|
Added a CHANGELOG entry for version 1.4 (not yet released) in 8a4425d: the |
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.
Summary
This branch adds a container-based regression harness covering PostgreSQL 12
through 19, extends CI to PostgreSQL 19, and substantially expands the
documentation.
Testing
test/Dockerfileis parameterised by aPG_MAJORbuild argument andinstalls that major version from the PostgreSQL APT repository, including the
-pgdg-snapshotrepository so not-yet-released versions (currently 19) can betested.
test/run-tests.shbuilds one image per version and runsmake installcheckinside it (via
pg_virtualenv, against a throwaway cluster), then prints apass/fail summary. With no arguments it covers 12–19; specific versions can be
passed as arguments.
test/README.mddocuments how to use the harness.CI
.github/workflows/regression.ymlmatrix(the existing pgdg helper already pulls the snapshot repository).
Documentation
*_permissionsview is now documented with a worked example and realoutput, including the column-vs-table and
PUBLIC-default subtleties.permission_diffs()and how to fix divergences through the updatable views.frameworks (SOX, PCI DSS, GDPR, HIPAA, ISO 27001/27002, SOC 2, DORA).
The single version-agnostic
expected/sample.outcontinues to match on allversions. Locally verified against PostgreSQL 16 and 19; the remaining versions
are covered by the harness and CI.