title: PostgreSQL - Is it possible to call Python function from compiled file in SELECT statement?
body: <p>Is it possible to call Python function from compiled Python <em>.pyc (</em>.pyo) file in SELECT statement, like in Oracle SQL DML (like described in <a href="https://web.stanford.edu/dept/itss/docs/oracle/10gR2/java.102/b14187/chseven.htm" rel="nofollow noreferrer">https://web.stanford.edu/dept/itss/docs/oracle/10gR2/java.102/b14187/chseven.htm</a> in paragraph "Calling Java from SQL DML")?</p>
  
  <p>Ie, I want something like </p>
  
  <pre><code>SELECT myPythonFunctionFromPycFile(ename, job) AS "Employees" FROM emp
  </code></pre>
  
  <p>P.S. I don't want to decompile *.pyc file.</p>
  
  <p>Thank you!</p>