Skip to content

Commit

Permalink
spelling: postgre
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Jun 5, 2018
1 parent 6185f76 commit 623bc56
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pg_discovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static char *pg_get_databases(AGENT_REQUEST *request, AGENT_RESULT *result) {

zabbix_log(LOG_LEVEL_DEBUG, "In %s(%s)", __function_name, request->key);

// Connect to PostreSQL
// Connect to PostgreSQL
if(NULL == (conn = pg_connect_request(request, result)))
goto out;

Expand Down Expand Up @@ -204,7 +204,7 @@ static char *pg_get_databases(AGENT_REQUEST *request, AGENT_RESULT *result) {
zbx_free(connstring);
connstring = build_connstring(get_rparam(request, PARAM_CONN_STRING), db);

// Connect to PostreSQL
// Connect to PostgreSQL
if(NULL == (conn = pg_connect(connstring, result)))
goto out;

Expand Down
2 changes: 1 addition & 1 deletion src/pg_index.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ int PG_STAT_ALL_INDEXES(AGENT_REQUEST *request, AGENT_RESULT *result)
else
zbx_snprintf(query, sizeof(query), "SELECT %s FROM pg_stat_all_indexes WHERE indexrelname = $1", field);

// Connect to PostreSQL
// Connect to PostgreSQL
if(NULL == (conn = pg_connect_request(request, result)))
goto out;

Expand Down
2 changes: 1 addition & 1 deletion src/pg_setting.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ int PG_SETTING_DISCOVERY(AGENT_REQUEST *request, AGENT_RESULT *result)
goto out;
}

// Connect to PostreSQL
// Connect to PostgreSQL
if(NULL == (conn = pg_connect_request(request, result)))
goto out;

Expand Down

0 comments on commit 623bc56

Please sign in to comment.