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

From Magnus Hagander
Subject Re: Transforms patch not respecting if indentation
Date
Msg-id CABUevExvFF8CTp_bVAm9tU70W+XOFv1V3ir+ZF17OL8h4u0V2w@mail.gmail.com
Whole thread Raw
In response to Transforms patch not respecting if indentation  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Mon, May 4, 2015 at 6:45 AM, Michael Paquier <michael.paquier@gmail.com> wrote:
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]));
+               }

Applied, thanks. 

--

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Resource leak in pg_dump.c caused by transforms
Next
From: Volker Aßmann
Date:
Subject: Re: Disabling trust/ident authentication configure option