title: Java library to write binary format for Postgres COPY?
body: <p>Has anyone come across a Java library (or just some code) to write the <code>binary</code> format used by Postgres' <a href="http://www.postgresql.org/docs/9.2/interactive/sql-copy.html#AEN66736" rel="noreferrer">COPY command</a>?</p>
  
  <p>It looks very simple, but if someone's already figured out the correct tuple data format, I'd just as well start there.</p>
  
  <p>Actually, even just the description of the formats for all data types would be helpful.</p>
  
  <p>Thanks.</p>