title: what is the equivalent of varbinary(10) in postgresql
body: <p>I'm trying to define a <code>bit</code> field of 10 bytes. In SQL Server I'd use <code>varbinary(10)</code>. I know that <code>bytea</code> replaces <code>varbinary (MAX)</code> for images, but didn't find any documentation on limiting the number of bits in it.</p>
  
  <p>Is there a way to do that?</p>