title: 42501: INSUFFICIENT PRIVILEGE ERROR while querying in Postgresql
body: <p>I am trying to query a database table in postgresql, but every time I run the below query it gives me the INSUFFICIENT PRIVILEGE error. What possibly could be the reason for such permission denied error. Also, I am using pgadmin tool in windows to connect the database which is in Linux environment. Below is the query I am running</p>
  
  <pre><code>&gt; &gt; SELECT appid,hash 
  &gt;       FROM app
  &gt;       WHERE appid=1;
  </code></pre>
  
  <p>While running the same query I am getting the below Error</p>
  
  <pre><code>ERROR:  permission denied for relation app
  
  ********** Error **********
  
  ERROR: permission denied for relation app
  SQL state: 42501
  </code></pre>