diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-11-05 13:58:48 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-11-05 13:58:48 +0100 |
| commit | 2f0fc05981996ad11f37319c64a386187d13bdf9 (patch) | |
| tree | 31b2fdc1fa20065126a95e75aa7e62c7bbd05d19 /plugins | |
| parent | 8e5cb31dc1fac2760233352e7d8e3b09812a80a1 (diff) | |
| download | monitoring-plugins-2f0fc05981996ad11f37319c64a386187d13bdf9.tar.gz | |
check_pgsql: cleanup leftover code
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_pgsql.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index bbabd062..cd314f29 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
| @@ -674,20 +674,5 @@ static do_query_wrapper do_query(PGconn *conn, char *query) { | |||
| 674 | 674 | ||
| 675 | result.numerical_result = value; | 675 | result.numerical_result = value; |
| 676 | 676 | ||
| 677 | // if (pgqueryname) { | ||
| 678 | // printf(_("%s returned %f"), pgqueryname, value); | ||
| 679 | // } else { | ||
| 680 | // printf(_("'%s' returned %f"), query, value); | ||
| 681 | // } | ||
| 682 | |||
| 683 | // printf("|query=%f;%s;%s;;\n", value, query_warning ? query_warning : "", | ||
| 684 | // query_critical ? query_critical : ""); | ||
| 685 | // if (PQnfields(res) > 1) { | ||
| 686 | // char *extra_info = PQgetvalue(res, 0, 1); | ||
| 687 | // if (extra_info != NULL) { | ||
| 688 | // printf("Extra Info: %s\n", extra_info); | ||
| 689 | // } | ||
| 690 | // } | ||
| 691 | |||
| 692 | return result; | 677 | return result; |
| 693 | } | 678 | } |
