Werk #17360: mk_postgres.py: Enable using a system wide PGPASSFILE
| Component | Checks & agents | ||
| Title | mk_postgres.py: Enable using a system wide PGPASSFILE | ||
| Date | Oct 14, 2024 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions | 
 | 
The PGPASSFILE environment variable is only overwritten by the instance pg_passfile when it is not empty.
It is possible now to use a system-wide PGPASSFILE environment variable.