title: How to store timestamp with milliseconds in PostgreSQL?
body: <p>I need to store timestamps in the format <code>yyyy-mm-dd hh:mm:ss.SSS</code> (SSS standing for milliseconds) in a PostgreSQL database. Surely it would work as a text/or varchar, but I need to &quot;work&quot; with the timestamps (e.g. filter all instances prior a certain timestamp - considering milliseconds).
  How would I do that in PostgreSQL?</p>