Tom Lane wrote:
> Hm. The backend flat-out rejects all attempts at GRANT on untrusted
> languages, even if you are superuser and the grantee is too. I'm not
> totally sure about the rationale for that (Peter?)
Why would you need it? It's only going to create fuss about useless
functionality.
> but in any case
> pg_dump has evidently not gotten the word. If we think the backend's
> behavior is right then we'd better change pg_dump to suppress trying
> to GRANT permissions on untrusted languages.
There should not be any permissions, so there should be nothing to dump.