ERROR: permission denied for table css CONTEXT: SQL statement "select replace(html,'#styles#',code) from main.css where id=1" PL/pgSQL function main.f_get_html(integer,integer) line 53 at SQL statementError: Function call failed.