check_pgsql: implement ok summary

This commit is contained in:
Lorenz Kästle 2026-06-04 23:55:46 +02:00
parent ca13721182
commit 7dc3bed81e

View file

@ -214,6 +214,8 @@ int main(int argc, char **argv) {
mp_check overall = mp_check_init();
mp_set_ok_summary(&overall, "Postgres check is OK");
mp_subcheck sc_connection = mp_subcheck_init();
if (PQstatus(conn) == CONNECTION_BAD) {