Skip to content

Commit 554d22c

Browse files
michaelpqpull[bot]
authored andcommitted
Fix code indentation violations introduced by recent commit
The two culprit commits are 5765cfe and 5e0c761. Per buildfarm member koel for the first commit, while I have noticed the second one in passing.
1 parent 69a8eae commit 554d22c

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

src/backend/utils/fmgr/fmgr.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,8 @@ fmgr_security_definer(PG_FUNCTION_ARGS)
669669
&isnull);
670670
if (!isnull)
671671
{
672-
ArrayType *array;
672+
ArrayType *array;
673+
673674
oldcxt = MemoryContextSwitchTo(fcinfo->flinfo->fn_mcxt);
674675
array = DatumGetArrayTypeP(datum);
675676
TransformGUCArray(array, &fcache->configNames,
@@ -686,7 +687,7 @@ fmgr_security_definer(PG_FUNCTION_ARGS)
686687

687688
/* GetUserIdAndSecContext is cheap enough that no harm in a wasted call */
688689
GetUserIdAndSecContext(&save_userid, &save_sec_context);
689-
if (fcache->configNames != NIL) /* Need a new GUC nesting level */
690+
if (fcache->configNames != NIL) /* Need a new GUC nesting level */
690691
save_nestlevel = NewGUCNestLevel();
691692
else
692693
save_nestlevel = 0; /* keep compiler quiet */
@@ -697,11 +698,11 @@ fmgr_security_definer(PG_FUNCTION_ARGS)
697698

698699
forboth(lc1, fcache->configNames, lc2, fcache->configValues)
699700
{
700-
GucContext context = superuser() ? PGC_SUSET : PGC_USERSET;
701-
GucSource source = PGC_S_SESSION;
702-
GucAction action = GUC_ACTION_SAVE;
703-
char *name = lfirst(lc1);
704-
char *value = lfirst(lc2);
701+
GucContext context = superuser() ? PGC_SUSET : PGC_USERSET;
702+
GucSource source = PGC_S_SESSION;
703+
GucAction action = GUC_ACTION_SAVE;
704+
char *name = lfirst(lc1);
705+
char *value = lfirst(lc2);
705706

706707
(void) set_config_option(name, value,
707708
context, source,

src/backend/utils/misc/guc.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6280,16 +6280,16 @@ void
62806280
ProcessGUCArray(ArrayType *array,
62816281
GucContext context, GucSource source, GucAction action)
62826282
{
6283-
List *gucNames;
6284-
List *gucValues;
6285-
ListCell *lc1;
6286-
ListCell *lc2;
6283+
List *gucNames;
6284+
List *gucValues;
6285+
ListCell *lc1;
6286+
ListCell *lc2;
62876287

62886288
TransformGUCArray(array, &gucNames, &gucValues);
62896289
forboth(lc1, gucNames, lc2, gucValues)
62906290
{
6291-
char *name = lfirst(lc1);
6292-
char *value = lfirst(lc2);
6291+
char *name = lfirst(lc1);
6292+
char *value = lfirst(lc2);
62936293

62946294
(void) set_config_option(name, value,
62956295
context, source,

src/bin/pgbench/pgbench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2246,7 +2246,7 @@ evalStandardFunc(CState *st,
22462246
* This value is double braced to workaround GCC bug 53119, which seems to
22472247
* exist at least on gcc (Debian 4.7.2-5) 4.7.2, 32-bit.
22482248
*/
2249-
PgBenchValue vargs[MAX_FARGS] = { { 0 } };
2249+
PgBenchValue vargs[MAX_FARGS] = {{0}};
22502250

22512251
for (nargs = 0; nargs < MAX_FARGS && l != NULL; nargs++, l = l->next)
22522252
{

0 commit comments

Comments
 (0)