From 1e9c8580904625576871eeb2efec7f04d4c3bc1c Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sat, 30 Jun 2018 12:25:49 -0400 Subject: pgindent run prior to branching --- src/backend/utils/adt/jsonb.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/backend/utils/adt/jsonb.c') diff --git a/src/backend/utils/adt/jsonb.c b/src/backend/utils/adt/jsonb.c index 6940b11c290..0ae9d7b9c54 100644 --- a/src/backend/utils/adt/jsonb.c +++ b/src/backend/utils/adt/jsonb.c @@ -1902,29 +1902,29 @@ cannotCastJsonbValue(enum jbvType type, const char *sqltype) { static const struct { - enum jbvType type; - const char *msg; + enum jbvType type; + const char *msg; } - messages[] = + messages[] = { - { jbvNull, gettext_noop("cannot cast jsonb null to type %s") }, - { jbvString, gettext_noop("cannot cast jsonb string to type %s") }, - { jbvNumeric, gettext_noop("cannot cast jsonb numeric to type %s") }, - { jbvBool, gettext_noop("cannot cast jsonb boolean to type %s") }, - { jbvArray, gettext_noop("cannot cast jsonb array to type %s") }, - { jbvObject, gettext_noop("cannot cast jsonb object to type %s") }, - { jbvBinary, gettext_noop("cannot cast jsonb array or object to type %s") } + {jbvNull, gettext_noop("cannot cast jsonb null to type %s")}, + {jbvString, gettext_noop("cannot cast jsonb string to type %s")}, + {jbvNumeric, gettext_noop("cannot cast jsonb numeric to type %s")}, + {jbvBool, gettext_noop("cannot cast jsonb boolean to type %s")}, + {jbvArray, gettext_noop("cannot cast jsonb array to type %s")}, + {jbvObject, gettext_noop("cannot cast jsonb object to type %s")}, + {jbvBinary, gettext_noop("cannot cast jsonb array or object to type %s")} }; - int i; + int i; - for(i=0; i