<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi, <br>
    <br>
    I have a problem with using osmosis with postgresql:<br>
    <br>
    <br>
    When using script/pgsimple_schema_0.6.sql to generate the SQL
    schema, osmosis terminates with error message<br>
    <br>
    <blockquote>org.openstreetmap.osmosis.core.OsmosisRuntimeException:
      The database schema version of 5 does not match the expected
      version of 6.<br>
    </blockquote>
    <br>
    Obviously outdated.<br>
    <br>
    But when using script/pgsnapshot_schema_0.6.sql instead, postgres
    rejects with error message<br>
    <br>
    <blockquote>psql:script/pgsnapshot_schema_0.6.sql:38: ERROR:  type
      "hstore" does not exist<br>
      LINE 7:     tags hstore<br>
                       ^<br>
    </blockquote>
    Obviously incomplete, definition of type "hstore" missing. <br>
    <br>
    <br>
    So how would one create the database for osmosis?<br>
    <br>
    <br>
    regards<br>
    Hadmut<br>
    <br>
  </body>
</html>