title: How to store videos in a PostgreSQL database?
body: <p>I am storing <em>image files</em> (like <code>jpg</code>, <code>png</code>) in a PostgreSQL database. I found <a href="http://forums.devshed.com/postgresql-help-21/storing-images-in-postgresql-database-10261.html" rel="noreferrer">information on how to do that here</a>.</p>
  
  <p>Likewise, I want to store <em>videos</em> in a PostgreSQL database. I searched the net - some say one should use a data type such as <code>bytea</code> to store binary data.</p>
  
  <p>Can you tell me how to use a <code>bytea</code> column to store videos?</p>