title: function max(bytea) does not exist postgresql
body: <p>I am new to PostgreSQL and I cannot find the solution to this problem, I need to select the maximum value present in a column of type bytea. Any help is appreciated in advance.</p>
  
  <p>My Query:</p>
  
  <pre><code>select MAX (Blob) from test.final
  </code></pre>
  
  <p>My Error:</p>
  
  <pre><code>psycopg2.errors.UndefinedFunction: function max(bytea) does not exist
  </code></pre>