22 сент. 2023 г., в 14:20, Luca Ferrari написал(а):
>> Checked few sources, can not seem to find reasoning behind this limit:
>> You must have superuser privileges to use the debugger.
>> What is the reason?
> I suspect the debugger will need to open a connection back to pgadmin,
> and that probab
> 25 сент. 2023 г., в 17:28, Tom Lane написал(а):
> Alexander Petrossian writes:
>>>> I am wondering why is this, why not allow debugging for non-privileged
>>>> users?
> Even if there's a way to restrict
> debugging connections to sessions owned by the
>
>
> > SELECT * FROM pldbg_set_global_breakpoint(1, 65695, -1, NULL);
> > ERROR: must be a superuser to create a breakpoint
> > I am wondering why is this, why not allow debugging for non-privileged
> users?
>
> Again, I'm suspecting that this debugger works by performing a
> sandboxing and attach