>From what I understand, the wiki should be updated with the following line remove:<div>cat /usr/share/postgresql/8.4/contrib/_int.sql | psql gazetteer</div><div><br></div><div>I am correct ?<br><div><br><div class="gmail_quote">
On Tue, Aug 16, 2011 at 10:17 AM, Philippe DAVID <span dir="ltr"><<a href="mailto:philippe.david@allgoob.com">philippe.david@allgoob.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ok sorry about this post, I just found this is duplicate of a recent discussion.<div>When following the instructions, with ubuntu 11.04 the command I needed was </div><div><div>sudo -u postgres psql gazetteer < /usr/share/postgresql/8.4/contrib/uninstall__int.sql</div>
<div><br></div><div>Cheers,</div><div>Philippe</div><div><div></div><div class="h5"><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 10:06 AM, Philippe DAVID <span dir="ltr"><<a href="mailto:philippe.david@allgoob.com" target="_blank">philippe.david@allgoob.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi devs,<div>I'm trying to setup a nominatim instance by folowing the instructions from the wiki <a href="http://wiki.openstreetmap.org/wiki/Nominatim/Installation" target="_blank">http://wiki.openstreetmap.org/wiki/Nominatim/Installation</a></div>
<div><br></div><div>When I launch osm2pgsql, it complains about the 'intarray' module begin loaded. I am a complete posgresql begginer (although fluent with mysql) so I tried to google about this but I found nothing conclusive.<br clear="all">
I would welcome some help about this :)</div><div><br></div><div>Here is the complete message. I work on ubuntu 11.04, postgresql 8.4 stock install:</div><div>###############</div><div><div>$ <a href="http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/osm2pgsql" target="_blank">svn.openstreetmap.org/applications/utils/export/osm2pgsql/osm2pgsql</a> -lsc -O gazetteer -C 2000 -d gazetteer france.osm </div>
<div>osm2pgsql SVN version 0.80.0 (32bit id space)</div><div><br></div><div>Using projection SRS 4326 (Latlong)</div><div>NOTICE: la table « place » n'existe pas, poursuite du traitement</div><div>NOTICE: le type « keyvalue » n'existe pas, poursuite du traitement</div>
<div>NOTICE: le type « wordscore » n'existe pas, poursuite du traitement</div><div>NOTICE: le type « stringlanguagetype » n'existe pas, poursuite du traitement</div><div>NOTICE: le type « keyvaluetype » n'existe pas, poursuite du traitement</div>
<div>NOTICE: la fonction get_connected_ways(pg_catalog.int4[]) n'existe pas, poursuite du traitement</div><div>Mid: pgsql, scale=10000000, cache=2000MB, maxblocks=256001*8192</div><div>Setting up table: planet_osm_nodes</div>
<div><br></div><div>The target database has the intarray contrib module loaded.</div><div>While required for earlier versions of osm2pgsql, intarray </div><div>is now unnecessary and will interfere with osm2pgsql's array</div>
<div>handling. Please use a database without intarray.</div><div> </div><div>Error occurred, cleaning up</div>
</div><div>###############</div><div><br></div><div>Thanks,</div><div>Philippe</div>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br><div>Philippe</div><div>Allgoob SA</div><br>
</font></div>
</blockquote></div><br><br clear="all"><br>-- <br><div>Philippe</div><div>Allgoob SA</div><br>
</div></div>