Werk #17124: mk_postgres: Fix 'Argument list too long'
Komponente | Checks & agents | ||||||
Titel | mk_postgres: Fix 'Argument list too long' | ||||||
Datum | 04.07.2024 | ||||||
Level | Kleine Änderung | ||||||
Klasse | Bugfix | ||||||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||||||
Checkmk versions & editions |
|
The execution of large queries might run into an OS specific restriction
regarding the length of arguments. In order to bypass the above error we use
psql -f <FILE_PATH>
instead of using echo
, cat
or similar for passing the
SQL to pyql
.