Transforms patch not respecting if indentation

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Transforms patch not respecting if indentation
Date: 2015-05-04 04:45:13
Message-ID: CAB7nPqQX=bKoiJbP6zs+50pu0QYnGHZm5LEqREtXw75Ok5tKoQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
20150504_ruleutils_ident.patch text/x-diff 490 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-05-04 05:02:18 Potential pointer dereference in plperl.c (caused by transforms patch)
Previous Message Michael Paquier 2015-05-04 04:34:28 Resource leak in pg_dump.c caused by transforms