<p>In <a href="https://github.com/dbsrgits/sql-translator/pull/51#discussion_r33203051">lib/SQL/Translator/Producer/PostgreSQL.pm</a>:</p>
<pre style='color:#555'>&gt; @@ -553,7 +570,10 @@ sub create_index
&gt;      }
&gt;      elsif ( $type eq NORMAL ) {
&gt;          $index_def =
&gt; -            &#39;CREATE INDEX &#39; . $generator-&gt;quote($name) . &#39; on &#39; . $generator-&gt;quote($table_name) . &#39; &#39; . $field_names
&gt; +            &#39;CREATE INDEX &#39; . $generator-&gt;quote($name) . &#39; on &#39; . $generator-&gt;quote($table_name) .
&gt; +            ($index_using ne &#39;&#39; ? &#39; &#39; . $index_using : &#39;&#39;) .
</pre>
<p>If you include the leading space when setting the value above, you can get rid of the ugly conditionals here.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/sql-translator/pull/51/files#r33203051">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAmCLmBJSJ8ZLK5cSntCWDLzeyTrjks5oWyLBgaJpZM4D82zW.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/dbsrgits/sql-translator/pull/51/files#r33203051"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>