<p>I have prepared a testing version with option to disable indexing.<br>
<a href="https://ci.appveyor.com/project/alex85k/osm2pgsql/build/1.0.123/artifacts">https://ci.appveyor.com/project/alex85k/osm2pgsql/build/1.0.123/artifacts</a></p>

<pre><code>set INDEX_SQL_FILE=makeindex.sql
osm2pgsql .....
=> all indexing sqls will be in makeindex.sql file for future manual exec in future 
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/osm2pgsql/issues/494#issuecomment-154100514">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7k-egfWTlGUlFQXx7d40SNR9vJmRks5pC3LegaJpZM4GbsAQ.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/openstreetmap/osm2pgsql/issues/494#issuecomment-154100514"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>