The Full Licence Text¶
This is the complete, verbatim text of pg_health_framework's own licence, reproduced from the project's LICENSE file. The Third-Party Notices chapter carries the separate, additional licence text required for the check-body SQL adapted from pgEdge's pg-healthcheck project.
MIT License
Copyright (c) 2026 pg_health_framework contributors
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.
Scope of this licence within the project¶
This licence covers the original code in this project: every file under sql/ other than the check-body files described below is original code under this licence. That includes the extensibility framework, the catalog registration functions (creating, updating, and copying checks, and the rest — there is no separate "register" or dedicated retire/deactivate function; only the update functions modify an existing record, through an active/inactive parameter), and the dispatch engine; the threshold-evaluation schema, threshold and event registration functions, and evaluation dispatch engine (including the events notification layer); retention; and the single catalog-seeding entry point that populates the built-in catalog.
The SQL check-body logic inside the built-in check functions is adapted from pgEdge's pg-healthcheck project and is separately licensed. The seeded default threshold values, and some seeded check rationale text, are likewise derived from that same upstream project even though the seeding code itself is original. See the Third-Party Notices chapter — specifically its attribution summary table — for the definitive, current, file-by-file breakdown of exactly what's original versus upstream-derived.
Continue to Third-Party Notices.