title: How to create a synonym for a user in PostgreSQL
body: <p>I am migrating this Oracle command to PostgreSQL:</p>
  
  <pre class="lang-sql prettyprint-override"><code>create view DBA_ha as select * from DBA_USER where username!='ha';
  create synonym ha.DBA_USER for DBA_ha;
  </code></pre>
  
  <p>Please suggest to me how I can migrate the SYNONYM command above.</p>