Here is a reproduction of the problem exclusively on 10.4.
Can anyone validate this bug?
I am not able to reproduce the issue.
>REVOKE
>ERROR: role "user1" does not exist
>Time: 0.134 ms
The process of grant doesn't execute, because of this reason, there are no permissions
on that table. In my test, after failure of user1, the next grant is successful.
Try generating the sql file with pg_restore output and pass it to psql and check.
Regards,
Haribabu Kommi
Fujitsu Australia