title: postgresql - Drop schema says schema does not exist
body: <p>I want to remove a user and I get this message.</p>
  
  <pre><code>postgres=# drop user user1;
  ERROR:  role "user1" cannot be dropped because some objects depend on it
  DETAIL:  owner of schema schema1
  postgres=# 
  </code></pre>
  
  <p>So, I tried dropping the schema and get this message:</p>
  
  <pre><code>postgres=# drop schema schema1 cascade;
  ERROR:  schema "schema1" does not exist
  </code></pre>
  
  <p>But, the schema exists!</p>
  
  <pre><code>postgres=# \dn
       List of schemas
       Name      |  Owner   
  ---------------+----------
   schema1       | user1
   public        | postgres
  (2 rows)
  </code></pre>