Dominique Devienne <ddevienne@xxxxxxxxx> writes: > On Tue, Nov 5, 2024 at 6:42 PM Tom Lane <tgl@xxxxxxxxxxxxx> wrote: >> This is probably a bug, at least to the extent that we don't like >> XX000 errors to be easily reachable, so please let us know what >> you find out. > Finding where the error is thrown is easy, it's when I'm doing that grant. > But the code creates two larguish schemas before that and several ROLEs, > so it's not easy to share. Really, we need a self-contained example case to do anything about this. Maybe you could anonymize the object names in your test? regards, tom lane