Support C11

pull/226/head
Francisco Miguel Biete 2022-05-13 09:50:39 +01:00 committed by GitHub
parent 1596208b64
commit 519210909a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -3399,8 +3399,9 @@ pg_stat_monitor_settings(PG_FUNCTION_ARGS)
if (conf->type == PGC_ENUM)
{
size_t i;
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, conf->guc_options[i]);