Hi all,

Coverity complained about a small indentation issue in ruleutils.c:
+               appendStringInfoString(buf, "\n TRANSFORM ");
+               for (i = 0; i < ntypes; i++)
+               {
+                       if (i != 0)
+                               appendStringInfoString(buf, ", ");
+                               appendStringInfo(buf, "FOR TYPE %s",
format_type_be(trftypes[i]));
+               }
Regards,
-- 
Michael
diff --git a/src/backend/utils/adt/ruleutils.c b/src/backend/utils/adt/ruleutils.c
index fea8db6..69267bd 100644
--- a/src/backend/utils/adt/ruleutils.c
+++ b/src/backend/utils/adt/ruleutils.c
@@ -2364,7 +2364,7 @@ print_function_trftypes(StringInfo buf, HeapTuple proctup)
 		{
 			if (i != 0)
 				appendStringInfoString(buf, ", ");
-				appendStringInfo(buf, "FOR TYPE %s", format_type_be(trftypes[i]));
+			appendStringInfo(buf, "FOR TYPE %s", format_type_be(trftypes[i]));
 		}
 	}
 }
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to