<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    If I remember correctly the relevant code is simply missing from 
    the .pbf parser.<br>
    <br>
    Simon<br>
    <br>
    Am 09.07.2013 16:26, schrieb Stefan Keller:<br>
    <span style="white-space: pre;">> Hi Simon<br>
      ><br>
      > 2013/7/9 Simon Poole <a class="moz-txt-link-rfc2396E" href="mailto:simon@poole.ch"><simon@poole.ch></a>:<br>
      >> I believe there is a bug that the timestamps don't get
      imported from<br>
      >> .pbf files. Should work fine with xml.<br>
      ><br>
      > We opened a ticket here
      <a class="moz-txt-link-freetext" href="https://trac.openstreetmap.org/ticket/4894">https://trac.openstreetmap.org/ticket/4894</a><br>
      ><br>
      > Yours, Stefan<br>
      ><br>
      ><br>
      > 2013/7/9 Simon Poole <a class="moz-txt-link-rfc2396E" href="mailto:simon@poole.ch"><simon@poole.ch></a>:<br>
      >> I believe there is a bug that the timestamps don't get
      imported from<br>
      >> .pbf files. Should work fine with xml.<br>
      >><br>
      >> Simon<br>
      >><br>
      >> Am 09.07.2013 12:21, schrieb Stefan Keller:<br>
      >>> Hi Paul<br>
      >>><br>
      >>> 2013/7/9 Paul Norman <a class="moz-txt-link-rfc2396E" href="mailto:penorman@mac.com"><penorman@mac.com></a> wrote:<br>
      >>>> The -x|--extra-attributes option will include
      this metadata. You may want to<br>
      >>>> add the columns to your .style file, and you will
      need to if you're not<br>
      >>>> using hstore.<br>
      >>> Thanks for your reply. That's what we're already
      doing:<br>
      >>><br>
      >>> osm2pgsql --create --slim --extra-attributes
      --database $DB_NAME \<br>
      >>>        --prefix osm --style
      /usr/local/share/osm2pgsql/terminal.style \<br>
      >>>        --username $DB_USER --port $DB_PORT
      --hstore-all --input-reader pbf \<br>
      >>>        "$OSRM_BIN_DIRECTORY/$(basename $CH_OSM_URL)"<br>
      >>>        >/dev/null<br>
      >>><br>
      >>> Unfortunately, the hstore field contains e.g. osm_id,
      osm_version -<br>
      >>> but no timestamp!<br>
      >>><br>
      >>> Yours, Stefan<br>
      >>><br>
      >>> 2013/7/9 Paul Norman <a class="moz-txt-link-rfc2396E" href="mailto:penorman@mac.com"><penorman@mac.com></a>:<br>
      >>>>> From: Stefan Keller
      [<a class="moz-txt-link-freetext" href="mailto:sfkeller@gmail.com">mailto:sfkeller@gmail.com</a>]<br>
      >>>>> Subject: [OSM-dev] osm2pgsql and timestamp as
      data in Postgres?<br>
      >>>>><br>
      >>>>> Hi,<br>
      >>>>><br>
      >>>>> Did anyone manage to configure osm2pgsql in
      order that it stores also<br>
      >>>>> the timestamp XML attribute in Postgres -
      either as separate field or as<br>
      >>>>> key/value in the hstore field? If yes, how
      can I do that?<br>
      >>>> The -x|--extra-attributes option will include
      this metadata. You may want to<br>
      >>>> add the columns to your .style file, and you will
      need to if you're not<br>
      >>>> using hstore.<br>
      >>>><br>
      >>> _______________________________________________<br>
      >>> dev mailing list<br>
      >>> <a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
      >>> <a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a><br>
      >><br>
      >><br>
      >><br>
      >> _______________________________________________<br>
      >> dev mailing list<br>
      >> <a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
      >> <a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a></span><br>
    <br>
    <br>
  </body>
</html>