Keep changes focused. Do not add credentials, production connection strings, schema dumps containing application data, query text, client addresses, or automatic remediation.
Read SPEC.md before changing a diagnostic.
- Create a focused branch.
- Add or update the relevant script and its README table entry.
- Run the required checks:
pre-commit run --all-files
sqlfluff lint --dialect postgres tools/*.sql
bash -n docker/db/init.sh docker/docker-entrypoint.sh
docker build --tag postgresql-scripts-validation:local docker- Test SQL against a disposable PostgreSQL instance. Do not test diagnostics against production data without appropriate authorization.
- Update CHANGELOG.md for user-visible changes.
Describe the operational impact, PostgreSQL version requirements, required privileges, and validation performed. A pull request must not include ignored environment files or generated artifacts unrelated to the change.
Do not disclose vulnerabilities in public issues. Follow SECURITY.md.