mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
Support C11
This commit is contained in:
committed by
GitHub
parent
1596208b64
commit
519210909a
@@ -3399,8 +3399,9 @@ pg_stat_monitor_settings(PG_FUNCTION_ARGS)
|
|||||||
|
|
||||||
if (conf->type == PGC_ENUM)
|
if (conf->type == PGC_ENUM)
|
||||||
{
|
{
|
||||||
|
size_t i;
|
||||||
strcat(options, conf->guc_options[0]);
|
strcat(options, conf->guc_options[0]);
|
||||||
for (size_t i = 1; i < conf->n_options; ++i)
|
for (i = 1; i < conf->n_options; ++i)
|
||||||
{
|
{
|
||||||
strcat(options, ", ");
|
strcat(options, ", ");
|
||||||
strcat(options, conf->guc_options[i]);
|
strcat(options, conf->guc_options[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user