title: Permission to execute function pg_ls_dir
body: <p>I created a monitoring account called <code>zabbix</code>. This account has the CONNECT privilege to database netbox.</p>
  
  <p>I added the privileges ALL to function pg_catalog.pg_ls_dir(text).</p>
  
  <p>However I still have these errors in postgresql logs:</p>
  
  <pre><code>2020-06-08 13:14:45 UTC ERROR:  permission denied for function pg_ls_dir
  2020-06-08 13:14:45 UTC STATEMENT:  SELECT      count(*)
          FROM    pg_ls_dir('pg_xlog')
  </code></pre>
  
  <p>What I miss ?</p>