Transforms patch not respecting if indentation - Mailing list pgsql-hackers

From Michael Paquier
Subject Transforms patch not respecting if indentation
Date
Msg-id CAB7nPqQX=bKoiJbP6zs+50pu0QYnGHZm5LEqREtXw75Ok5tKoQ@mail.gmail.com
Whole thread Raw
Responses Re: Transforms patch not respecting if indentation  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Resource leak in pg_dump.c caused by transforms
Next
From: Michael Paquier
Date:
Subject: Potential pointer dereference in plperl.c (caused by transforms patch)